MCPcopy Create free account

hub / github.com/LegacyLands/legacy-lands-library / functions

Functions2,130 in github.com/LegacyLands/legacy-lands-library

↓ 3 callersMethodgetErrorMessage
()
aop/src/main/java/net/legacy/library/aop/config/ConfigurationService.java:225
↓ 3 callersMethodgetFailedCount
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 callersMethodgetPriority
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 callersMethodgetRLPDSReadWriteLockKey
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 callersMethodgetRStreamNameKey
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 callersMethodgetVariable
Gets the value. @param name The name @return The value
script/src/main/java/net/legacy/library/script/scope/ScriptScope.java:15
↓ 3 callersMethodget_cache_shard
(&self, task_id: &str)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/registry.rs:254
↓ 3 callersMethodget_result
( &self, request: Request<ResultRequest>, )
experimental/third-party-schedulers/task-scheduler-rust/src/server/service.rs:77
↓ 3 callersMethodhalfOpenTestOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPCircuitBreakerTest.java:550
↓ 3 callersMethodhas
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 callersMethodintercept
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 callersMethodinvokeFunction
{@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 callersMethodisAuthenticated
Checks if the current context is authenticated. @return true if authenticated
aop/src/main/java/net/legacy/library/aop/security/SecurityProvider.java:35
↓ 3 callersMethodisBlank
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 callersMethodisFeatureEnabled
(MethodInterceptor interceptor)
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:334
↓ 3 callersMethodisIndexValid
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 callersMethodload
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 callersMethodloadFromSources
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 callersMethodoperationWithFallback
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRateLimiterTest.java:618
↓ 3 callersMethodperformTransactionalOperation
(String data)
aop/src/main/java/net/legacy/library/aop/test/AOPDistributedTransactionTest.java:294
↓ 3 callersMethodprocessAnnotations
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 callersMethodpublicInfo
()
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:513
↓ 3 callersMethodreadUser
(String userId)
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:507
↓ 3 callersMethodregisterExecutor
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 callersMethodregisterLockStrategy
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 callersMethodregisterTimeoutHandler
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 callersMethodremoveGlobalVariable
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 callersMethodresolveConfigKey
(DynamicConfig config, String defaultName)
aop/src/main/java/net/legacy/library/aop/aspect/DynamicConfigAspect.java:249
↓ 3 callersMethodretry
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 callersMethodriskyOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPCircuitBreakerTest.java:468
↓ 3 callersMethodrollbackParticipants
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 callersMethodrun
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 callersMethodsave
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 callersMethodscheduleRefresh
(ConfigurationMetadata metadata)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:655
↓ 3 callersMethodserialize
{@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 callersMethodsetCurrentTrace
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 callersMethodsetModuleConfiguration
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 callersMethodsetName
Sets the transaction name. @param name the transaction name
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:136
↓ 3 callersMethodsetPlayerDefaultTTL
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 callersMethodsetVariable
Sets the value. @param name The name @param value The value
script/src/main/java/net/legacy/library/script/scope/ScriptScope.java:23
↓ 3 callersMethodshutdown
Shuts down the security provider.
aop/src/main/java/net/legacy/library/aop/security/SecurityProvider.java:77
↓ 3 callersMethodsubmitTaskAsync
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 callersMethodupdateAccepter
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 callersMethodupdateAccepter
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 callersMethodupdateAccepter
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 callersMethodupdateAccepter
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 callersMethodupdateCachedValue
(String key, Object value, boolean cacheEnabled)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:640
↓ 3 callersMethodvalidate
(String key, Object value)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:296
↓ 3 callersMethodwaitForResult
(CompletableFuture<Object> future, long timeout)
aop/src/main/java/net/legacy/library/aop/aspect/AsyncSafeAspect.java:217
↓ 3 callersMethodwasProcessedSuccessfully
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 callersMethodaddMetric
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 callersMethodadminOperation
(String operationData)
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:518
↓ 2 callersMethodattemptExecution
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 callersMethodcalculateDelay
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 callersMethodcalculateDelayMillis
(Retry retry, int attemptIndex)
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:235
↓ 2 callersMethodcalculateFailureRate
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 callersMethodcalculateSum
(int a, int b)
aop/src/main/java/net/legacy/library/aop/test/AOPCoreTest.java:437
↓ 2 callersMethodcleanup
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 callersMethodcleanupParticipants
Cleanup all participants. @param context the transaction context
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:332
↓ 2 callersMethodclearAll
Clears all rate limiters and caches.
aop/src/main/java/net/legacy/library/aop/aspect/RateLimiterAspect.java:135
↓ 2 callersMethodclearContext
Clears the current security context.
aop/src/main/java/net/legacy/library/aop/security/DefaultSecurityProvider.java:121
↓ 2 callersMethodcompleteCurrentTrace
Completes the current trace. @param status the completion status
aop/src/main/java/net/legacy/library/aop/tracing/TraceService.java:56
↓ 2 callersMethodcompleteCurrentTraceWithError
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 callersMethodcompleteWithError
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 callersMethodconvertForMetadata
(String key, Object value, ConfigurationMetadata metadata)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:602
↓ 2 callersMethodconvertValue
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 callersMethodcreate
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 callersMethodcreate
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 callersMethodcreate
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 callersMethodcreateDefault
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 callersMethodcreateFlexibleMultiLevelCacheService
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 callersMethodcreateForNetworkErrors
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 callersMethodcreateRedisCache
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 callersMethodcreateRuntime
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 callersMethodcreateSimpleTypePattern
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 callersMethoddefaultPolicy
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 callersMethodenableTracing
Enables distributed tracing for the transaction. @param context the transaction context
aop/src/main/java/net/legacy/library/aop/aspect/DistributedTransactionAspect.java:318
↓ 2 callersMethodexecute
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 callersMethodexecuteAndAddFuture
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 callersMethodexecuteAttempt
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 callersMethodexecuteGrpcCallWithRetryInternal
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 callersMethodexecuteSubmitTaskRpc
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 callersMethodexecuteTestClass
Execute all test methods in a test class using reflection.
annotation/src/main/java/net/legacy/library/annotation/test/AnnotationTestRunner.java:188
↓ 2 callersMethodexecuteWithCustomLock
(AspectContext context, MethodInvocation invocation, CustomLockStrate
aop/src/main/java/net/legacy/library/aop/aspect/AsyncSafeAspect.java:316
↓ 2 callersMethodexecuteWithResilience
Executes the accept method with resilience handling
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilientRStreamAccepter.java:158
↓ 2 callersMethodexecuteWithResilience
(RStream<Object, Object> stream, StreamMessageId id, LegacyEntityDataSe
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilientEntityRStreamAccepter.java:135
↓ 2 callersMethodexecute_task
(&self, task: &taskscheduler::TaskRequest)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/registry.rs:359
↓ 2 callersMethodexportSpan
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 callersMethodfixedWindowOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRateLimiterTest.java:608
↓ 2 callersMethodformatParameterValue
(Object value, int maxSize)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:138
↓ 2 callersMethodformatResult
(Object result)
aop/src/main/java/net/legacy/library/aop/aspect/LoggingAspect.java:133
↓ 2 callersMethodgenerateLockKey
(AspectContext context)
aop/src/main/java/net/legacy/library/aop/aspect/AsyncSafeAspect.java:229
↓ 2 callersMethodgenerateRetryKey
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 callersMethodgenerateTransactionId
Generates a unique transaction ID. @return a unique transaction ID
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:127
↓ 2 callersMethodget
(Object key)
cache/src/main/java/net/legacy/library/cache/test/AbstractCacheServiceTest.java:357
↓ 2 callersMethodgetConfiguration
()
aop/src/main/java/net/legacy/library/aop/test/AOPDynamicConfigTest.java:257
↓ 2 callersMethodgetDuration
Gets the transaction duration in milliseconds. @return the duration in milliseconds
aop/src/main/java/net/legacy/library/aop/transaction/TransactionContext.java:174
↓ 2 callersMethodgetElapsedTime
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 callersMethodgetEntityKeyPattern
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 callersMethodgetEntityReadWriteLockKey
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
← previousnext →301–400 of 2,130, ranked by callers