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
↓ 3 callers
Method
getErrorMessage
()
aop/src/main/java/net/legacy/library/aop/config/ConfigurationService.java:225
↓ 3 callers
Method
getFailedCount
Gets the total number of failed classes. @return the count of failed classes
annotation/src/main/java/net/legacy/library/annotation/test/TestResultRegistry.java:143
↓ 3 callers
Method
getPriority
Gets the priority of the configuration source. <p>Higher priority sources override lower priority sources. @return the priority (higher values have
aop/src/main/java/net/legacy/library/aop/config/ConfigurationSource.java:33
↓ 3 callers
Method
getRLPDSReadWriteLockKey
Generates a read-write lock key for a given Redis bucket key. @param bucketKey the Redis bucket key @return the read-write lock key as a {@link Strin
player/src/main/java/net/legacy/library/player/util/RKeyUtil.java:128
↓ 3 callers
Method
getRStreamNameKey
Generates the Redis stream name key for a given {@link LegacyPlayerDataService}. @param legacyPlayerDataService the {@link LegacyPlayerDataService} i
player/src/main/java/net/legacy/library/player/util/RKeyUtil.java:35
↓ 3 callers
Method
getVariable
Gets the value. @param name The name @return The value
script/src/main/java/net/legacy/library/script/scope/ScriptScope.java:15
↓ 3 callers
Method
get_cache_shard
(&self, task_id: &str)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/registry.rs:254
↓ 3 callers
Method
get_result
( &self, request: Request<ResultRequest>, )
experimental/third-party-schedulers/task-scheduler-rust/src/server/service.rs:77
↓ 3 callers
Method
halfOpenTestOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPCircuitBreakerTest.java:550
↓ 3 callers
Method
has
Static factory method to create criteria for entities that have a specific relationship. @param relationshipType the type of relationship @param targ
player/src/main/java/net/legacy/library/player/model/RelationshipCriteria.java:58
↓ 3 callers
Method
intercept
Intercepts a method invocation and applies the aspect's cross-cutting logic. <p>This method is called when a proxied method is invoked and this inter
aop/src/main/java/net/legacy/library/aop/interceptor/MethodInterceptor.java:50
↓ 3 callers
Method
invokeFunction
{@inheritDoc} @param script {@inheritDoc} @param functionName {@inheritDoc} @param scriptScope {@inheritDoc} @param args {@inheritDoc}
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:85
↓ 3 callers
Method
isAuthenticated
Checks if the current context is authenticated. @return true if authenticated
aop/src/main/java/net/legacy/library/aop/security/SecurityProvider.java:35
↓ 3 callers
Method
isBlank
Checks if the string is null, empty (""), or contains only whitespace characters. @param inputString the string to check @return true if the string i
commons/src/main/java/net/legacy/library/commons/util/ValidationUtil.java:140
↓ 3 callers
Method
isFeatureEnabled
(MethodInterceptor interceptor)
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:334
↓ 3 callers
Method
isIndexValid
Checks if the index is within the bounds [0, size). @param index the index @param size the size @return true if the index is valid, false otherwise
commons/src/main/java/net/legacy/library/commons/util/ValidationUtil.java:730
↓ 3 callers
Method
load
Loads all configuration properties from this source. @return a map of configuration properties
aop/src/main/java/net/legacy/library/aop/config/ConfigurationSource.java:40
↓ 3 callers
Method
loadFromSources
Loads a configuration value from all sources. @param key the configuration key @return the configuration value, or null if not found
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:374
↓ 3 callers
Method
operationWithFallback
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRateLimiterTest.java:618
↓ 3 callers
Method
performTransactionalOperation
(String data)
aop/src/main/java/net/legacy/library/aop/test/AOPDistributedTransactionTest.java:294
↓ 3 callers
Method
processAnnotations
Processes annotations within the specified base package using the default annotation processors. <p>This method scans the specified base package and
annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessingServiceInterface.java:31
↓ 3 callers
Method
publicInfo
()
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:513
↓ 3 callers
Method
readUser
(String userId)
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:507
↓ 3 callers
Method
registerExecutor
Registers a custom executor @param executor the executor to register @throws IllegalArgumentException if an executor with the same name already exist
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutorRegistry.java:68
↓ 3 callers
Method
registerLockStrategy
Registers a custom lock strategy @param lockStrategy the lock strategy to register @throws IllegalArgumentException if a strategy with the same name
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutorRegistry.java:82
↓ 3 callers
Method
registerTimeoutHandler
Registers a custom timeout handler @param timeoutHandler the timeout handler to register @throws IllegalArgumentException if a handler with the same
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutorRegistry.java:96
↓ 3 callers
Method
removeGlobalVariable
Remove the value of a global variable in the engine's scope. @param name The name of the global variable
script/src/main/java/net/legacy/library/script/engine/ScriptEngineInterface.java:215
↓ 3 callers
Method
resolveConfigKey
(DynamicConfig config, String defaultName)
aop/src/main/java/net/legacy/library/aop/aspect/DynamicConfigAspect.java:249
↓ 3 callers
Method
retry
Creates a result indicating the operation should be retried after the specified delay. <p>The delay determines how long the resilience framework shou
player/src/main/java/net/legacy/library/player/task/redis/resilience/FailureHandlingResult.java:76
↓ 3 callers
Method
riskyOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPCircuitBreakerTest.java:468
↓ 3 callers
Method
rollbackParticipants
Rollback all participants. @param context the transaction context @return a CompletableFuture that completes when all participants are rolled back
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:306
↓ 3 callers
Method
run
Runs the task with the previously defined execution mode. Alias for {@link #execute(Object)} with more intuitive naming. @param taskData task paramet
commons/src/main/java/net/legacy/library/commons/task/ExecutionBuilder.java:58
↓ 3 callers
Method
save
Saves a configuration property to this source. @param key the configuration key @param value the configuration value @return true if the property w
aop/src/main/java/net/legacy/library/aop/config/ConfigurationSource.java:87
↓ 3 callers
Method
scheduleRefresh
(ConfigurationMetadata metadata)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:655
↓ 3 callers
Method
serialize
{@inheritDoc} @param src {@inheritDoc} @param typeOfSrc {@inheritDoc} @param context {@inheritDoc} @return {@inheritDoc}
player/src/main/java/net/legacy/library/player/serialize/adapter/PairTypeAdapter.java:32
↓ 3 callers
Method
setCurrentTrace
Sets the current trace context. @param context the trace context to set as current
aop/src/main/java/net/legacy/library/aop/tracing/TraceService.java:49
↓ 3 callers
Method
setModuleConfiguration
Applies a new module configuration so that isolation rules can take effect immediately. @param configuration active module configuration, defaults to
aop/src/main/java/net/legacy/library/aop/service/ClassLoaderIsolationService.java:139
↓ 3 callers
Method
setName
Sets the transaction name. @param name the transaction name
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:136
↓ 3 callers
Method
setPlayerDefaultTTL
Sets the default TTL for a player in the L2 cache. If the player doesn't exist in L2 cache, this method will have no effect. @param uuid the UUID of
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:497
↓ 3 callers
Method
setVariable
Sets the value. @param name The name @param value The value
script/src/main/java/net/legacy/library/script/scope/ScriptScope.java:23
↓ 3 callers
Method
shutdown
Shuts down the security provider.
aop/src/main/java/net/legacy/library/aop/security/SecurityProvider.java:77
↓ 3 callers
Method
submitTaskAsync
Submits a task to the scheduler asynchronously. <p>This method returns immediately with a {@link CompletableFuture} which will be completed with the
experimental/third-party-schedulers/bukkit-grpc-client/src/main/java/net/legacy/library/grpcclient/task/GRPCTaskSchedulerClient.java:213
↓ 3 callers
Method
updateAccepter
Scans the specified base packages and class loaders for classes annotated with {@link EntityRStreamAccepterRegister}, instantiates them, and adds them
player/src/main/java/net/legacy/library/player/task/redis/ResilientEntityRStreamAccepterInvokeTask.java:144
↓ 3 callers
Method
updateAccepter
Scans for classes annotated with {@link EntityRStreamAccepterRegister} and initializes the accepter set.
player/src/main/java/net/legacy/library/player/task/redis/EntityRStreamAccepterInvokeTask.java:112
↓ 3 callers
Method
updateAccepter
Scans the specified base packages and class loaders for classes annotated with {@link RStreamAccepterRegister}, instantiates them, and adds them to th
player/src/main/java/net/legacy/library/player/task/redis/RStreamAccepterInvokeTask.java:110
↓ 3 callers
Method
updateAccepter
Scans the specified base packages and class loaders for classes annotated with {@link RStreamAccepterRegister}, instantiates them, and adds them to th
player/src/main/java/net/legacy/library/player/task/redis/ResilientRStreamAccepterInvokeTask.java:182
↓ 3 callers
Method
updateCachedValue
(String key, Object value, boolean cacheEnabled)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:640
↓ 3 callers
Method
validate
(String key, Object value)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:296
↓ 3 callers
Method
waitForResult
(CompletableFuture<Object> future, long timeout)
aop/src/main/java/net/legacy/library/aop/aspect/AsyncSafeAspect.java:217
↓ 3 callers
Method
wasProcessedSuccessfully
Checks if a specific class with test name was processed successfully. @param clazz the class to check @param testName the test name @return true i
annotation/src/main/java/net/legacy/library/annotation/test/TestResultRegistry.java:112
↓ 2 callers
Method
addMetric
Adds a metric to the current trace. @param key the metric key @param value the metric value
aop/src/main/java/net/legacy/library/aop/tracing/TraceService.java:87
↓ 2 callers
Method
adminOperation
(String operationData)
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:518
↓ 2 callers
Method
attemptExecution
Attempts to execute the task. @param task the task to execute @param resultFuture the result future @param attemptCount the current att
aop/src/main/java/net/legacy/library/aop/fault/RetryPolicy.java:89
↓ 2 callers
Method
calculateDelay
Calculates the delay for a specific attempt number. <p>If exponential backoff is disabled, returns the base delay. If exponential backoff is enabled,
player/src/main/java/net/legacy/library/player/task/redis/resilience/RetryPolicy.java:202
↓ 2 callers
Method
calculateDelayMillis
(Retry retry, int attemptIndex)
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:235
↓ 2 callers
Method
calculateFailureRate
Calculates the failure rate in the current window. @return the failure rate (0.0 to 1.0)
aop/src/main/java/net/legacy/library/aop/fault/CircuitBreaker.java:259
↓ 2 callers
Method
calculateSum
(int a, int b)
aop/src/main/java/net/legacy/library/aop/test/AOPCoreTest.java:437
↓ 2 callers
Method
cleanup
Cleans up resources after transaction completion. <p>This method is called after the transaction has been completed (committed or rolled back) to all
aop/src/main/java/net/legacy/library/aop/transaction/TransactionParticipant.java:87
↓ 2 callers
Method
cleanupParticipants
Cleanup all participants. @param context the transaction context
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:332
↓ 2 callers
Method
clearAll
Clears all rate limiters and caches.
aop/src/main/java/net/legacy/library/aop/aspect/RateLimiterAspect.java:135
↓ 2 callers
Method
clearContext
Clears the current security context.
aop/src/main/java/net/legacy/library/aop/security/DefaultSecurityProvider.java:121
↓ 2 callers
Method
completeCurrentTrace
Completes the current trace. @param status the completion status
aop/src/main/java/net/legacy/library/aop/tracing/TraceService.java:56
↓ 2 callers
Method
completeCurrentTraceWithError
Completes the current trace with an error. @param error the error that occurred
aop/src/main/java/net/legacy/library/aop/tracing/TraceService.java:63
↓ 2 callers
Method
completeWithError
Completes the trace with an error. @param error the error that occurred
aop/src/main/java/net/legacy/library/aop/tracing/TraceContext.java:127
↓ 2 callers
Method
convertForMetadata
(String key, Object value, ConfigurationMetadata metadata)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:602
↓ 2 callers
Method
convertValue
Converts a value to the target type. @param value the value to convert @param type the target type @param <T> the type parameter @return the conve
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:434
↓ 2 callers
Method
create
Creates a test runner instance using static factory method. @return the configured test runner
cache/src/main/java/net/legacy/library/cache/test/CacheTestRunner.java:56
↓ 2 callers
Method
create
Creates a default {@link MongoDBConnectionConfig} instance using the standard UUID representation. @param databaseName the name of the MongoDB databa
mongodb/src/main/java/net/legacy/library/mongodb/factory/MongoDBConnectionConfigFactory.java:27
↓ 2 callers
Method
create
Creates a new DistributedRetryCounter with the default key prefix and default TaskInterface. @param redissonClient the Redis client to use for distri
player/src/main/java/net/legacy/library/player/task/redis/resilience/DistributedRetryCounter.java:60
↓ 2 callers
Method
createDefault
Creates a resilient wrapper with default settings (3 retries, exponential backoff). <p>This is the most commonly used factory method, providing a bal
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilienceFactory.java:39
↓ 2 callers
Method
createFlexibleMultiLevelCacheService
Creates a {@link FlexibleMultiLevelCacheService}. @param tieredCacheLevels a set of {@link TieredCacheLevel} instances @return a new {@link CustomCac
cache/src/main/java/net/legacy/library/cache/factory/CacheServiceFactory.java:119
↓ 2 callers
Method
createForNetworkErrors
Creates a resilient wrapper that retries only for network-related exceptions. <p>This factory method creates a wrapper that specifically handles netw
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilienceFactory.java:73
↓ 2 callers
Method
createRedisCache
Creates a {@link RedisCacheService} with the specified configuration. @param config the Redis configuration @return a new {@link RedisCacheService} i
cache/src/main/java/net/legacy/library/cache/factory/CacheServiceFactory.java:39
↓ 2 callers
Method
createRuntime
Creates a new V8 runtime. @return a new V8Runtime instance @throws IllegalStateException if not initialized
script/src/main/java/net/legacy/library/script/manager/V8EngineManager.java:49
↓ 2 callers
Method
createSimpleTypePattern
Creates a pattern for a simple (non-generic) type. @param type the simple type name @return regex pattern
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:502
↓ 2 callers
Method
defaultPolicy
Creates a default retry policy with sensible defaults. <p>Default configuration: <ul> <li>Maximum attempts: 3</li> <li>Base delay: 1 second</li>
player/src/main/java/net/legacy/library/player/task/redis/resilience/RetryPolicy.java:95
↓ 2 callers
Method
enableTracing
Enables distributed tracing for the transaction. @param context the transaction context
aop/src/main/java/net/legacy/library/aop/aspect/DistributedTransactionAspect.java:318
↓ 2 callers
Method
execute
Executes the task with the previously defined execution mode. Task executes immediately when this method is called. Creates an unnamed task accessible
commons/src/main/java/net/legacy/library/commons/task/ExecutionBuilder.java:32
↓ 2 callers
Method
executeAndAddFuture
Executes the task with the specified mode and adds the result to the chain. <p>This method is called immediately when {@link ExecutionBuilder#execute
commons/src/main/java/net/legacy/library/commons/task/TaskChainBuilder.java:107
↓ 2 callers
Method
executeAttempt
Executes a single attempt of the task. @param task the task to execute @param resultFuture the result future @param attemptCount the current
aop/src/main/java/net/legacy/library/aop/fault/RetryPolicy.java:66
↓ 2 callers
Method
executeGrpcCallWithRetryInternal
Executes a generic gRPC call with retry logic for transient errors. @param <T> the return type of the gRPC call @param grpcCall a
experimental/third-party-schedulers/bukkit-grpc-client/src/main/java/net/legacy/library/grpcclient/task/GRPCTaskSchedulerClient.java:415
↓ 2 callers
Method
executeSubmitTaskRpc
Internal method to perform the actual gRPC {@code SubmitTask} call. @param taskId the task identifier @param method the method name @param isAs
experimental/third-party-schedulers/bukkit-grpc-client/src/main/java/net/legacy/library/grpcclient/task/GRPCTaskSchedulerClient.java:298
↓ 2 callers
Method
executeTestClass
Execute all test methods in a test class using reflection.
annotation/src/main/java/net/legacy/library/annotation/test/AnnotationTestRunner.java:188
↓ 2 callers
Method
executeWithCustomLock
(AspectContext context, MethodInvocation invocation, CustomLockStrate
aop/src/main/java/net/legacy/library/aop/aspect/AsyncSafeAspect.java:316
↓ 2 callers
Method
executeWithResilience
Executes the accept method with resilience handling
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilientRStreamAccepter.java:158
↓ 2 callers
Method
executeWithResilience
(RStream<Object, Object> stream, StreamMessageId id, LegacyEntityDataSe
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilientEntityRStreamAccepter.java:135
↓ 2 callers
Method
execute_task
(&self, task: &taskscheduler::TaskRequest)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/registry.rs:359
↓ 2 callers
Method
exportSpan
Exports a trace span to the tracing backend. @param context the trace context to export
aop/src/main/java/net/legacy/library/aop/tracing/TraceExporter.java:22
↓ 2 callers
Method
fixedWindowOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRateLimiterTest.java:608
↓ 2 callers
Method
formatParameterValue
(Object value, int maxSize)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:138
↓ 2 callers
Method
formatResult
(Object result)
aop/src/main/java/net/legacy/library/aop/aspect/LoggingAspect.java:133
↓ 2 callers
Method
generateLockKey
(AspectContext context)
aop/src/main/java/net/legacy/library/aop/aspect/AsyncSafeAspect.java:229
↓ 2 callers
Method
generateRetryKey
Generates a unique retry key for the given message. <p>The key format includes the action name, message ID, and a hash of the data to ensure uniquene
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilientRStreamAccepter.java:250
↓ 2 callers
Method
generateTransactionId
Generates a unique transaction ID. @return a unique transaction ID
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:127
↓ 2 callers
Method
get
(Object key)
cache/src/main/java/net/legacy/library/cache/test/AbstractCacheServiceTest.java:357
↓ 2 callers
Method
getConfiguration
()
aop/src/main/java/net/legacy/library/aop/test/AOPDynamicConfigTest.java:257
↓ 2 callers
Method
getDuration
Gets the transaction duration in milliseconds. @return the duration in milliseconds
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:174
↓ 2 callers
Method
getElapsedTime
Gets the elapsed time for an active timer without stopping it. @param timerName the name of the timer @return the elapsed time in milliseconds, or -1
foundation/src/main/java/net/legacy/library/foundation/util/TestTimer.java:111
↓ 2 callers
Method
getEntityKeyPattern
Gets the pattern for entity keys to match all entity data keys. @param service the entity data service @return the key pattern for all entity data
player/src/main/java/net/legacy/library/player/util/EntityRKeyUtil.java:94
↓ 2 callers
Method
getEntityReadWriteLockKey
Generates a Redis key for a read-write lock on entity data. @param entityKey the entity key to create a lock for @return the generated Redis lock key
player/src/main/java/net/legacy/library/player/util/EntityRKeyUtil.java:42
← previous
next →
301–400 of 2,130, ranked by callers