Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LegacyLands/legacy-lands-library
/ functions
Functions
2,130 in github.com/LegacyLands/legacy-lands-library
⨍
Functions
2,130
◇
Types & classes
421
↓ 1 callers
Method
addChangeListener
Adds a configuration change listener. @param key the configuration key to listen for, or null for all keys @param listener the change listener
aop/src/main/java/net/legacy/library/aop/config/ConfigurationService.java:111
↓ 1 callers
Method
addChangeListener
(String key, ConfigurationChangeListener listener)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:285
↓ 1 callers
Method
addCustomTags
(TraceContext context, String[] tags)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:122
↓ 1 callers
Method
addMethodParameters
(TraceContext context, Object[] arguments, Class<?>[] parameterTypes, int maxSize)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:107
↓ 1 callers
Method
addMetric
Adds a metric to the trace. @param key the metric key @param value the metric value
aop/src/main/java/net/legacy/library/aop/tracing/TraceContext.java:88
↓ 1 callers
Method
addPointcut
Adds a pointcut to the composite with the specified operation. @param pointcut the pointcut to add @param isAnd true for AND operation, false for
aop/src/main/java/net/legacy/library/aop/pointcut/impl/CompositePointcut.java:40
↓ 1 callers
Method
addRandomObjects
Adds multiple random objects with their corresponding probabilities to the utility class. @param objectProbabilityMap Map of objects and their probab
commons/src/main/java/net/legacy/library/commons/util/random/RandomGenerator.java:110
↓ 1 callers
Method
after
Invoked after processing a class. @param clazz the class that was processed @throws Exception the exception
annotation/src/main/java/net/legacy/library/annotation/service/CustomAnnotationProcessor.java:46
↓ 1 callers
Method
afterExecution
Called after successful method execution @param context the aspect context @param result the execution result @param executionTime the a
aop/src/main/java/net/legacy/library/aop/custom/CustomTimeoutHandler.java:70
↓ 1 callers
Method
afterTests
Performs cleanup operations after test execution. <p>Subclasses can override this method to implement module-specific cleanup logic such as releasing
foundation/src/main/java/net/legacy/library/foundation/test/AbstractModuleTestRunner.java:120
↓ 1 callers
Method
alwaysFailingOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRetryTest.java:656
↓ 1 callers
Method
alwaysTracedOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:512
↓ 1 callers
Method
andThen
Continues the chain to add another task. <p>Since all previous tasks have already been executed immediately when {@link ExecutionBuilder#execute(Obje
commons/src/main/java/net/legacy/library/commons/task/ChainContinuation.java:27
↓ 1 callers
Function
any_bool
(val: bool)
experimental/third-party-schedulers/task-scheduler-rust/tests/common/utils.rs:31
↓ 1 callers
Method
applyIsolationLevel
(TransactionContext context, DistributedTransaction transactional)
aop/src/main/java/net/legacy/library/aop/aspect/DistributedTransactionAspect.java:285
↓ 1 callers
Method
applyValidationRule
Applies a validation rule to a configuration value. @param key the configuration key @param value the value to validate @param rule the validation
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:468
↓ 1 callers
Method
asyncOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRetryTest.java:669
↓ 1 callers
Method
attemptAsync
(Object target, Method method, Retry retry, MethodInvocation invocation, Object[
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:115
↓ 1 callers
Method
before
Invoked before processing a class. @param clazz the class to be processed @throws Exception the exception
annotation/src/main/java/net/legacy/library/annotation/service/CustomAnnotationProcessor.java:20
↓ 1 callers
Method
beforeExecution
Called before a method execution to prepare for potential timeout @param context the aspect context @param timeout the configured timeout @para
aop/src/main/java/net/legacy/library/aop/custom/CustomTimeoutHandler.java:57
↓ 1 callers
Method
beforeTests
Performs setup operations before test execution. <p>Subclasses can override this method to implement module-specific setup logic such as initializing
foundation/src/main/java/net/legacy/library/foundation/test/AbstractModuleTestRunner.java:106
↓ 1 callers
Method
beginNestedTransaction
Begins a nested distributed transaction. @param parentContext the parent transaction context @param annotation the distributed transaction annotat
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:84
↓ 1 callers
Method
build
Builds the final TaskChain with all configured and executed tasks. <p>All tasks will have been started immediately when their respective {@link Execu
commons/src/main/java/net/legacy/library/commons/task/ChainContinuation.java:51
↓ 1 callers
Method
buildCircuitKey
(CircuitBreaker annotation, Class<?> targetClass, Method method)
aop/src/main/java/net/legacy/library/aop/aspect/CircuitBreakerAspect.java:241
↓ 1 callers
Method
buildFunctionCallScript
(String functionName, Object... args)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:230
↓ 1 callers
Method
buildMethodSignature
(AspectContext context)
aop/src/main/java/net/legacy/library/aop/aspect/LoggingAspect.java:123
↓ 1 callers
Method
buildRateLimiterKey
(RateLimiter annotation, Method method, AspectContext context)
aop/src/main/java/net/legacy/library/aop/aspect/RateLimiterAspect.java:161
↓ 1 callers
Method
cache_task_result
(&self, task_id: String, result: TaskResult)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/registry.rs:413
↓ 1 callers
Method
calculate
Calculates and returns derived metrics. @return a new TestMetrics instance with calculated fields
foundation/src/main/java/net/legacy/library/foundation/test/TestMetrics.java:132
↓ 1 callers
Method
calculateDelay
Calculates the delay before the next retry. @param attemptNumber the attempt number (0-based) @return the delay in milliseconds
aop/src/main/java/net/legacy/library/aop/fault/RetryPolicy.java:176
↓ 1 callers
Method
calculateSum
(int a, int b)
aop/src/main/java/net/legacy/library/aop/test/AOPAnnotationTest.java:133
↓ 1 callers
Method
calculateWaitTime
Calculates the wait time until the next available slot. @return the wait time in milliseconds
aop/src/main/java/net/legacy/library/aop/fault/RateLimiter.java:318
↓ 1 callers
Method
checkRateLimit
Checks rate limiting for the method invocation. @param secured the security annotation @param context the security context @throws SecurityException
aop/src/main/java/net/legacy/library/aop/aspect/SecurityAspect.java:191
↓ 1 callers
Method
cleanupClassLoader
(ClassLoader classLoader)
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:293
↓ 1 callers
Method
clear
Clears all exported spans.
aop/src/main/java/net/legacy/library/aop/tracing/InMemoryTraceExporter.java:120
↓ 1 callers
Method
clear
Clears all registered participants.
aop/src/main/java/net/legacy/library/aop/transaction/ParticipantRegistry.java:120
↓ 1 callers
Method
clear
Clears all timer data (both active and completed).
foundation/src/main/java/net/legacy/library/foundation/util/TestTimer.java:182
↓ 1 callers
Method
clearCaches
Clears all caches maintained by this aspect.
aop/src/main/java/net/legacy/library/aop/aspect/DynamicConfigAspect.java:126
↓ 1 callers
Method
clearMetrics
Clears all collected metrics.
aop/src/main/java/net/legacy/library/aop/aspect/MonitoringAspect.java:114
↓ 1 callers
Method
clearMonitoringMetrics
()
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:258
↓ 1 callers
Method
clearResults
Clears all test results.
annotation/src/main/java/net/legacy/library/annotation/test/TestResultRegistry.java:150
↓ 1 callers
Method
close
Closes the MongoDB client connection, releasing any resources held by the client.
mongodb/src/main/java/net/legacy/library/mongodb/model/MongoDBConnectionConfig.java:87
↓ 1 callers
Method
combinedCustomTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:225
↓ 1 callers
Method
commitParticipants
Phase 2: Commit all participants. @param context the transaction context @return a CompletableFuture that completes when all participants are committ
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:274
↓ 1 callers
Method
compensate
Executes the compensation logic. @param participant the participant to compensate @param context the transaction context @throws CompensationExce
aop/src/main/java/net/legacy/library/aop/transaction/CompensationRegistry.java:64
↓ 1 callers
Method
compilePattern
(String pattern)
aop/src/main/java/net/legacy/library/aop/pointcut/impl/WithinPointcut.java:64
↓ 1 callers
Method
completeCurrentTrace
(TraceContext.TraceStatus status)
aop/src/main/java/net/legacy/library/aop/tracing/DefaultTraceService.java:69
↓ 1 callers
Method
completeTrace
Completes a trace with the specified status. @param context the trace context @param status the completion status
aop/src/main/java/net/legacy/library/aop/tracing/DefaultTraceService.java:194
↓ 1 callers
Method
completeTraceWithError
Completes a trace with an error. @param context the trace context @param error the error that occurred
aop/src/main/java/net/legacy/library/aop/tracing/DefaultTraceService.java:217
↓ 1 callers
Method
convertArgumentsToV8
(Object... args)
script/src/main/java/net/legacy/library/script/engine/js/V8ScriptEngine.java:132
↓ 1 callers
Method
convertDefaultValue
(String defaultValue, Class<?> targetType)
aop/src/main/java/net/legacy/library/aop/aspect/DynamicConfigAspect.java:253
↓ 1 callers
Method
convertListToCustomProtoAny
Converts a Java {@link List} into an {@link Any} containing a custom {@code taskscheduler.ListValue}. <p>Each element in the list is recursively conve
experimental/third-party-schedulers/bukkit-grpc-client/src/main/java/net/legacy/library/grpcclient/task/ProtoConversionUtil.java:81
↓ 1 callers
Method
convertMapToCustomProtoAny
Converts a Java {@link Map} with String keys into an {@link Any} containing a custom {@code taskscheduler.MapValue}. <p>Each value in the map is recur
experimental/third-party-schedulers/bukkit-grpc-client/src/main/java/net/legacy/library/grpcclient/task/ProtoConversionUtil.java:96
↓ 1 callers
Method
convertStrategy
(RateLimiter.RateLimitStrategy annotationStrategy)
aop/src/main/java/net/legacy/library/aop/aspect/RateLimiterAspect.java:152
↓ 1 callers
Method
convertToCompletableFuture
Converts various result types to CompletableFuture for unified handling. <p>Handles {@link CompletableFuture}, {@link Future}, and synchronous result
commons/src/main/java/net/legacy/library/commons/task/TaskChainBuilder.java:138
↓ 1 callers
Method
countEntitiesWithRelationship
Counts the number of entities that have a specific relationship with a target entity. @param relationshipType the type of relationship to count @para
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:969
↓ 1 callers
Method
countRelationships
Counts the number of relationships of a specific type. @param relationshipType the type of relationship to count @return the number of relationships
player/src/main/java/net/legacy/library/player/model/LegacyEntityData.java:257
↓ 1 callers
Method
create
Creates a test runner instance using dependency injection. @return the configured test runner
aop/src/main/java/net/legacy/library/aop/test/AOPTestRunner.java:85
↓ 1 callers
Method
create
Creates a new transaction context with a generated transaction ID. @param name the transaction name @param timeout the transaction timeout in se
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:96
↓ 1 callers
Method
create
Creates a test runner instance using dependency injection. @return the configured test runner
annotation/src/main/java/net/legacy/library/annotation/test/AnnotationTestRunner.java:59
↓ 1 callers
Method
create
Creates a test runner instance. @return the configured test runner
script/src/main/java/net/legacy/library/script/test/ScriptTestRunner.java:58
↓ 1 callers
Method
create
Create Player module test runner
player/src/main/java/net/legacy/library/player/test/PlayerTestRunner.java:57
↓ 1 callers
Method
createAuthorizationFailure
Creates an authorization failure exception. @param secured the security annotation @param cause the original exception @return the authorization fa
aop/src/main/java/net/legacy/library/aop/aspect/SecurityAspect.java:260
↓ 1 callers
Method
createBidirectionalRelationship
Creates a bidirectional relationship between two entities. @param entity1Uuid the UUID of the first entity @param entity2Uuid the UUID of
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:726
↓ 1 callers
Method
createChild
Creates a new transaction context with a generated transaction ID and parent. @param parentTransactionId the parent transaction ID @param name
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:113
↓ 1 callers
Method
createChildSpan
Creates a child span context. @param operationName the child operation name @return the child trace context
aop/src/main/java/net/legacy/library/aop/tracing/TraceContext.java:148
↓ 1 callers
Method
createChildSpan
Creates a child span of the current trace. @param operationName the child operation name @return the child trace context
aop/src/main/java/net/legacy/library/aop/tracing/TraceService.java:71
↓ 1 callers
Method
createClassPattern
Creates a pattern to match class names including package wildcards. <p>This method handles various wildcard patterns: <ul> <li>{@literal ..} - matc
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:279
↓ 1 callers
Method
createClassProxy
(T target, List<MethodInterceptor> interceptors)
aop/src/main/java/net/legacy/library/aop/proxy/AspectProxyFactory.java:91
↓ 1 callers
Method
createConservativeRetry
Creates a resilient wrapper with conservative retry configuration (longer delays, fewer attempts). <p>This configuration is suitable for handling err
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilienceFactory.java:176
↓ 1 callers
Method
createCustom
Creates a custom resilient wrapper with specified retry policy and compensation action. <p>This method provides maximum flexibility for configuring r
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilienceFactory.java:270
↓ 1 callers
Method
createCustomCache
Creates a {@link CustomCacheService} with the specified cache implementation. @param cache the underlying cache implementation @param <V> the cache
cache/src/main/java/net/legacy/library/cache/factory/CacheServiceFactory.java:109
↓ 1 callers
Method
createFastRetry
Creates a resilient wrapper with fast retry configuration (short delays, more attempts). <p>This configuration is suitable for handling transient err
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilienceFactory.java:121
↓ 1 callers
Method
createGroovyEngine
Creates a {@link GroovyEngine}. @return a new {@link GroovyEngine} instance @see GroovyEngine
script/src/main/java/net/legacy/library/script/factory/ScriptEngineFactory.java:55
↓ 1 callers
Method
createHybrid
Creates a hybrid retry counter with pattern-based selection. <p>Keys matching the pattern will use distributed counting, others will use local. @par
player/src/main/java/net/legacy/library/player/task/redis/resilience/RetryCounterFactory.java:108
↓ 1 callers
Method
createHybridWithPrefixes
Creates a hybrid retry counter with prefix-based selection. <p>Keys starting with any of the specified prefixes will use distributed counting. @para
player/src/main/java/net/legacy/library/player/task/redis/resilience/RetryCounterFactory.java:123
↓ 1 callers
Method
createInvocationChain
( Object target, Method method, Object[] args, List<MethodInterceptor> interceptors, i
aop/src/main/java/net/legacy/library/aop/proxy/AspectInvocationHandler.java:89
↓ 1 callers
Method
createMethodPattern
Creates a pattern to match method names. @return a Pattern for matching method names
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:315
↓ 1 callers
Method
createModifierPattern
Creates a pattern to match method modifiers based on the parsed expression. @return a Pattern for matching modifiers, or null to match any modifier
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:235
↓ 1 callers
Method
createNoRetry
Creates a resilient wrapper that never retries but logs failures. <p>This configuration is useful when you want to monitor failures without automatic
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilienceFactory.java:233
↓ 1 callers
Method
createOrRetrieveInterceptor
(Class<?> clazz, AOPInterceptor interceptorAnnotation)
aop/src/main/java/net/legacy/library/aop/annotation/AOPPointcutProcessor.java:93
↓ 1 callers
Method
createOrder
(String orderId, String orderData)
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:499
↓ 1 callers
Method
createParameterPattern
Creates a pattern to match method parameters. <p>Currently supports: <ul> <li>{@code (..)} - matches any parameters</li> <li>{@code ()} - matches
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:352
↓ 1 callers
Method
createParameterStringWithGenerics
Creates a string representation of parameter types including generic information. @param paramTypes the parameter types @param genericParamTyp
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:637
↓ 1 callers
Method
createReturnTypePattern
Creates a pattern to match method return types. @return a Pattern for matching return types
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:250
↓ 1 callers
Method
createSecurityContext
Creates a security context for the method invocation. @param context the aspect context @param invocation the method invocation @param provider
aop/src/main/java/net/legacy/library/aop/aspect/SecurityAspect.java:113
↓ 1 callers
Method
createTraceContext
(AspectContext context, Traced traced)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:90
↓ 1 callers
Method
createTypePattern
Creates a regex pattern for a type including generic parameters. @param typeStr the type string (e.g., "List<String>") @return regex pattern
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:428
↓ 1 callers
Method
createUser
(String userData)
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:501
↓ 1 callers
Method
createValidatorInstance
Creates a validator instance. @param validatorClass the validator class @return the validator instance
aop/src/main/java/net/legacy/library/aop/aspect/ValidationAspect.java:243
↓ 1 callers
Method
createWithPattern
Creates a hybrid counter with a simple key-pattern based selection. <p>Keys matching the pattern will use distributed counting, others will use local
player/src/main/java/net/legacy/library/player/task/redis/resilience/HybridRetryCounter.java:71
↓ 1 callers
Method
createWithPrefixes
Creates a hybrid counter that uses distributed counting for specified prefixes. <p>This factory method is useful when certain operation types (identi
player/src/main/java/net/legacy/library/player/task/redis/resilience/HybridRetryCounter.java:93
↓ 1 callers
Method
createWithoutCleanup
Creates a new LocalRetryCounter without automatic cleanup. <p>Use this factory method when you want to manage cleanup manually or when TTL support is
player/src/main/java/net/legacy/library/player/task/redis/resilience/LocalRetryCounter.java:88
↓ 1 callers
Method
customExecutorTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:219
↓ 1 callers
Method
customLockTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:221
↓ 1 callers
Method
customTimeoutTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:223
↓ 1 callers
Method
customizeGsonBuilder
Customizes the shared GsonBuilder and updates the Gson instance. <p>The customization is performed in a thread-safe manner using {@link ReentrantLock
commons/src/main/java/net/legacy/library/commons/util/GsonUtil.java:50
↓ 1 callers
Method
debugLevelOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPLoggingTest.java:229
↓ 1 callers
Method
destroy
Shuts down the shared scheduled executor service gracefully. <p><b>Important:</b> This method uses blocking operations ({@code awaitTermination}) tha
commons/src/main/java/net/legacy/library/commons/task/VirtualThreadSchedulerManager.java:58
↓ 1 callers
Method
destroy
Shuts down the shared virtual thread executor gracefully. <p><b>Important:</b> This method uses blocking operations ({@code awaitTermination}) that w
commons/src/main/java/net/legacy/library/commons/task/VirtualThreadExecutors.java:55
← previous
next →
501–600 of 2,130, ranked by callers