MCPcopy Create free account

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

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

↓ 2 callersMethodgetFromDatabase
Retrieves the {@link LegacyPlayerData} from the database for the specified UUID. @param uuid the unique identifier of the player @return the {@link L
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:277
↓ 2 callersMethodgetFromL2Cache
Retrieves the {@link LegacyPlayerData} from the second-level (L2) cache. @param uuid the unique identifier of the player @return an {@link Optional}
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:251
↓ 2 callersMethodgetGlobalVariable
{@inheritDoc} @param name {@inheritDoc} @return {@inheritDoc}
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:169
↓ 2 callersMethodgetInterceptorsForClass
(Class<?> targetClass)
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:361
↓ 2 callersMethodgetLockStrategy
Gets a custom lock strategy by name @param name the strategy name @return the lock strategy, or null if not found
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutorRegistry.java:120
↓ 2 callersMethodgetModeResult
Retrieves the original object returned by the mode function at the specified index. <p>Returns the raw object before any conversion (e.g., {@link Fut
commons/src/main/java/net/legacy/library/commons/task/TaskChain.java:187
↓ 2 callersMethodgetMonitoringAspect
Gets the MonitoringAspect instance. @return the MonitoringAspect, or {@code null} if not registered
aop/src/main/java/net/legacy/library/aop/registry/InterceptorRegistry.java:57
↓ 2 callersMethodgetPlayerKeyPattern
Gets the pattern for player keys to match all player data keys. @param legacyPlayerDataService the player data service @return the key pattern for al
player/src/main/java/net/legacy/library/player/util/RKeyUtil.java:118
↓ 2 callersMethodgetRetryPolicy
Gets the retry policy associated with this handler. <p>Default implementation returns null. Override in implementations that have an associated retry
player/src/main/java/net/legacy/library/player/task/redis/resilience/FailureHandler.java:121
↓ 2 callersMethodgetRoles
Gets the roles assigned to the current principal. @return array of role names
aop/src/main/java/net/legacy/library/aop/security/SecurityProvider.java:42
↓ 2 callersMethodgetTimeToLive
Gets the remaining TTL for a counter key. @param key the counter key @return a {@link CompletableFuture} containing the TTL in seconds, or -1 if no T
player/src/main/java/net/legacy/library/player/task/redis/resilience/DistributedRetryCounter.java:260
↓ 2 callersMethodgetTimeoutHandler
Gets a custom timeout handler by name @param name the handler name @return the timeout handler, or null if not found
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutorRegistry.java:130
↓ 2 callersMethodgetTotalCallsInWindow
Gets the total calls in the current sliding window. @return the total calls in the window
aop/src/main/java/net/legacy/library/aop/fault/CircuitBreaker.java:273
↓ 2 callersMethodgetTypeString
Gets the string representation of a type including generic information. @param rawType the raw class type @param genericType the generic type inf
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:662
↓ 2 callersMethodgetVariable
(String name)
script/src/main/java/net/legacy/library/script/scope/groovy/GroovyScriptScope.java:32
↓ 2 callersMethodhandle
Handles a failure that occurred during stream accepter processing. <p>This method is the core decision point for failure handling. Implementations sh
player/src/main/java/net/legacy/library/player/task/redis/resilience/FailureHandler.java:111
↓ 2 callersMethodhandleCircuitOpen
(CircuitBreaker annotation, Method method, AspectContext context, String
aop/src/main/java/net/legacy/library/aop/aspect/CircuitBreakerAspect.java:252
↓ 2 callersMethodhandleFailure
Handles execution failure. @param task the task that failed @param resultFuture the result future @param attemptCount the current attem
aop/src/main/java/net/legacy/library/aop/fault/RetryPolicy.java:122
↓ 2 callersMethodhandleTimeout
Handles timeout scenarios for async method execution @param context the aspect context @param future the future that timed out @param timeout
aop/src/main/java/net/legacy/library/aop/custom/CustomTimeoutHandler.java:30
↓ 2 callersMethodhasApplicableInterceptor
(Class<?> targetClass, List<MethodInterceptor> interceptors)
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:205
↓ 2 callersMethodhasTask
Checks if a task with the specified name exists in the chain. @param name task name to check for @return true if a task with the given name exists, f
commons/src/main/java/net/legacy/library/commons/task/TaskChain.java:268
↓ 2 callersMethodhashCode
()
aop/src/main/java/net/legacy/library/aop/test/ClassLoaderIsolationTest.java:117
↓ 2 callersMethodinitialize
Initializes the executor with configuration properties @param properties configuration properties
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutor.java:43
↓ 2 callersMethodinitialize
Initializes the V8 engine manager. @return true if successfully initialized
script/src/main/java/net/legacy/library/script/manager/V8EngineManager.java:28
↓ 2 callersMethodinvokeBindingClosure
(String functionName, Binding binding, GroovyShell currentShell, Object... args)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:208
↓ 2 callersMethodinvokeChangeCallback
(Object target, String callbackName, Object oldValue, Object newValue)
aop/src/main/java/net/legacy/library/aop/aspect/DynamicConfigAspect.java:271
↓ 2 callersMethodinvokeFallback
(Object target, Method fallback, Retry retry, Throwable cause, Object[] orig
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:200
↓ 2 callersMethodinvokeScriptFunction
(Script scriptObject, String functionName, Object... args)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:203
↓ 2 callersMethodisCompleted
Checks if the transaction is in a completion state. @return true if the transaction is completed (committed or rolled back)
aop/src/main/java/net/legacy/library/aop/transaction/TransactionStatus.java:80
↓ 2 callersMethodisModifier
Checks if a string represents a method modifier. @param str the string to check @return true if it's a modifier
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:211
↓ 2 callersMethodlengthBetween
Checks if the string length is within the specified range (inclusive). @param inputString the string to check @param minLength minimum length (incl
commons/src/main/java/net/legacy/library/commons/util/ValidationUtil.java:226
↓ 2 callersMethodload_plugin
(&self, name: &str)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/dynamic.rs:73
↓ 2 callersMethodlogAuditEvent
Logs an audit event for the method invocation. @param context the aspect context @param securityContext the security context @param success
aop/src/main/java/net/legacy/library/aop/aspect/SecurityAspect.java:236
↓ 2 callersFunctionmain
()
experimental/third-party-schedulers/task-scheduler-rust/build.rs:1
↓ 2 callersMethodmatchesClass
Tests whether this pointcut matches any method in the given class. <p>This is a coarse-grained filter that can quickly eliminate classes that definit
aop/src/main/java/net/legacy/library/aop/pointcut/Pointcut.java:39
↓ 2 callersMethodmatchesClassName
Checks if the target class name matches the class pattern. @param targetClass the class to check @return true if class name matches
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:570
↓ 2 callersMethodnormalizeAttempts
(int maxAttempts)
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:301
↓ 2 callersMethodnotBlank
Checks if the string is not null, not empty (""), and contains characters other than whitespace. @param inputString the string to check @return true
commons/src/main/java/net/legacy/library/commons/util/ValidationUtil.java:160
↓ 2 callersMethodof
Factory method to create a new {@link RStreamAccepterInvokeTask}. @param legacyPlayerDataService the {@link LegacyPlayerDataService} instance to be u
player/src/main/java/net/legacy/library/player/task/redis/RStreamAccepterInvokeTask.java:80
↓ 2 callersMethodof
Creates a new {@link EasyPlayerRawCacheDataService} with the specified name. @param name the unique name of the service @return a new instance of {@l
player/src/main/java/net/legacy/library/player/service/EasyPlayerRawCacheDataService.java:71
↓ 2 callersMethodof
Creates a new RelationshipCriteria instance. @param relationshipType the type of relationship @param targetEntityUuid the UUID of the target entity i
player/src/main/java/net/legacy/library/player/model/RelationshipCriteria.java:47
↓ 2 callersMethodonChange
Called when configuration properties change. @param changes the map of changed properties (key -> new value)
aop/src/main/java/net/legacy/library/aop/config/ConfigurationSource.java:115
↓ 2 callersMethodoperationThatFails
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPExceptionWrapperTest.java:324
↓ 2 callersMethodoperationWithFallback
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPCircuitBreakerTest.java:489
↓ 2 callersMethodparseModifierAndReturnType
Parses modifiers and return type from the expression prefix. @param prefix the part of expression before class.method
aop/src/main/java/net/legacy/library/aop/pointcut/impl/ExecutionPointcut.java:181
↓ 2 callersMethodperUserOperation
(String userId, String data)
aop/src/main/java/net/legacy/library/aop/test/AOPRateLimiterTest.java:611
↓ 2 callersMethodperformReadOnlyOperation
(String id)
aop/src/main/java/net/legacy/library/aop/test/AOPDistributedTransactionTest.java:300
↓ 2 callersMethodprocessBucketTTL
Atomically processes a Redis key for TTL and returns whether a TTL was set. <p>Uses Lua script to prevent race conditions in bulk TTL setting operati
player/src/main/java/net/legacy/library/player/util/TTLUtil.java:230
↓ 2 callersMethodprocessData
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPAsyncTest.java:470
↓ 2 callersMethodprocessUserData
(String userId, String userData)
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:493
↓ 2 callersFunctionproperties
cache/build.gradle.kts:1
↓ 2 callersFunctionproperties
mongodb/build.gradle.kts:1
↓ 2 callersFunctionproperties
aop/build.gradle.kts:1
↓ 2 callersFunctionproperties
annotation/build.gradle.kts:1
↓ 2 callersFunctionproperties
script/build.gradle.kts:1
↓ 2 callersFunctionproperties
configuration/build.gradle.kts:1
↓ 2 callersFunctionproperties
player/build.gradle.kts:1
↓ 2 callersFunctionproperties
foundation/build.gradle.kts:1
↓ 2 callersFunctionproperties
experimental/third-party-schedulers/bukkit-grpc-client/build.gradle.kts:1
↓ 2 callersFunctionproperties
commons/build.gradle.kts:1
↓ 2 callersMethodregisterMetadata
Registers metadata for a configuration key so that advanced features (refresh intervals, caching policies) can be applied. @param metadata the metada
aop/src/main/java/net/legacy/library/aop/config/ConfigurationService.java:142
↓ 2 callersMethodregisterMetadata
(ConfigurationMetadata metadata)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:61
↓ 2 callersMethodremoveRelationship
Removes a relationship between this entity and another entity. @param relationshipType the type of relationship @param targetEntityUuid the UUID of t
player/src/main/java/net/legacy/library/player/model/LegacyEntityData.java:220
↓ 2 callersMethodremoveVariable
(String name)
script/src/main/java/net/legacy/library/script/scope/js/NashornScriptScope.java:48
↓ 2 callersMethodresolveFallback
(Method method, Retry retry, Class<?> targetClass)
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:177
↓ 2 callersMethodresolveLockKey
(AspectContext context, Properties properties)
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutorRegistry.java:257
↓ 2 callersMethodresolveMaxAttempts
(Retry retry, Object target)
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:281
↓ 2 callersMethodrestorePreviousContext
(TraceContext previousContext)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:188
↓ 2 callersMethodretrieveOrStoreInCache
Core method implementing the cache retrieval and storage logic. @param value the value from cache, may be {@code null} indicating a cache m
cache/src/main/java/net/legacy/library/cache/service/AbstractCacheService.java:84
↓ 2 callersMethodretryForExceptions
Creates a failure handler that only retries for specific exception types. <p>This factory method creates a handler that applies the default retry pol
player/src/main/java/net/legacy/library/player/task/redis/resilience/FailureHandler.java:61
↓ 2 callersMethodrollback
Rolls back a distributed transaction. @param context the transaction context @return a CompletableFuture that completes when the transaction is rolle
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:168
↓ 2 callersMethodrollback
Rolls back the transaction. <p>This method should undo any changes made during the transaction and restore the system to its original state. @param
aop/src/main/java/net/legacy/library/aop/transaction/TransactionParticipant.java:67
↓ 2 callersMethodsaveEntityWithoutRepublish
Saves entity data to the L1 cache and schedules asynchronous persistence to L2 cache and database without publishing to Redis Stream. <p>This method
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:410
↓ 2 callersMethodsaveLegacyPlayerDataToL2Cache
(LegacyPlayerData legacyPlayerData)
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:432
↓ 2 callersMethodsaveLegacyPlayersData
(List<LegacyPlayerData> legacyPlayerDataList)
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:419
↓ 2 callersMethodscan_and_load_all
(&self)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/dynamic.rs:184
↓ 2 callersMethodscheduleAtFixedRate
Schedule a periodic {@link Runnable} task with a fixed delay and interval in ticks. @param task the task to be executed @param delayTicks
commons/src/main/java/net/legacy/library/commons/task/TaskInterface.java:363
↓ 2 callersMethodscheduleTimeoutCheck
Schedules a timeout check for the transaction. @param context the transaction context
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:394
↓ 2 callersMethodsetDefaultTTLForAllEntities
Sets the default TTL for all entities in the L2 cache that don't already have a TTL. This can be used to fix legacy data that was stored without TTL.
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:1090
↓ 2 callersMethodsetGlobalVariable
{@inheritDoc} @param name {@inheritDoc} @param value {@inheritDoc}
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:184
↓ 2 callersMethodsetModuleConfiguration
Updates the module configuration used during initialization and proxy creation. @param configuration module configuration to apply; falling back to {
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:126
↓ 2 callersMethodsetPlayerTTL
Sets the TTL (Time-To-Live) 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 U
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:469
↓ 2 callersMethodsetVariable
(String name, Object value)
script/src/main/java/net/legacy/library/script/scope/groovy/GroovyScriptScope.java:41
↓ 2 callersMethodshouldIgnore
(Throwable throwable, Retry retry)
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:224
↓ 2 callersMethodshouldRetry
(Throwable throwable, Retry retry)
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:216
↓ 2 callersMethodshouldRetry
Determines if the given exception should trigger a retry. <p>Applies the configured retry condition predicate to determine whether the specified exce
player/src/main/java/net/legacy/library/player/task/redis/resilience/RetryPolicy.java:223
↓ 2 callersMethodsize
()
cache/src/main/java/net/legacy/library/cache/test/MultiLevelCacheTest.java:342
↓ 2 callersMethodsupportsMonitoring
Checks if this source supports monitoring for changes. @return true if the source supports change monitoring
aop/src/main/java/net/legacy/library/aop/config/ConfigurationSource.java:54
↓ 2 callersMethodtarget
()
aop/src/main/java/net/legacy/library/aop/test/ClassLoaderIsolationTest.java:100
↓ 2 callersMethodtoString
()
aop/src/main/java/net/legacy/library/aop/test/ClassLoaderIsolationTest.java:127
↓ 2 callersMethodtransitionToOpen
Transitions the circuit to open state.
aop/src/main/java/net/legacy/library/aop/fault/CircuitBreaker.java:290
↓ 2 callersMethodtryAcquire
Attempts to acquire a permit for method execution. @return true if the permit was acquired, false otherwise
aop/src/main/java/net/legacy/library/aop/fault/RateLimiter.java:63
↓ 2 callersMethodupdateDurationStats
Updates the duration statistics. @param duration the duration to update
aop/src/main/java/net/legacy/library/aop/tracing/DefaultTraceService.java:240
↓ 2 callersMethodupdateLastModifiedTime
Sets the last modified time to the current time.
player/src/main/java/net/legacy/library/player/model/LegacyEntityData.java:135
↓ 2 callersMethodvalidateAge
(@ValidInput( required = true, min = 0, max = 150 ) In
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:475
↓ 2 callersMethodvalidateCompiledScript
(Object compiledScript)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:251
↓ 2 callersMethodvalidateEmail
(@ValidInput( required = true, pattern = "^[A-Za-z0-9+_.-]+@[A-Za-z0-9.-]+\\.[
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:481
↓ 2 callersMethodvalidateUsername
(@ValidInput( required = true, minLength = 3, maxLength = 50,
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:468
↓ 1 callersMethodacquire
Waits for the next available slot in the rate limit window. @return true if the permit was acquired @throws InterruptedException if the thread was in
aop/src/main/java/net/legacy/library/aop/fault/RateLimiter.java:114
↓ 1 callersMethodaddAttribute
Adds an attribute to the trace. @param key the attribute key @param value the attribute value
aop/src/main/java/net/legacy/library/aop/tracing/TraceContext.java:78
← previousnext →401–500 of 2,130, ranked by callers