MCPcopy Create free account

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

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

↓ 1 callersMethodaddChangeListener
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 callersMethodaddChangeListener
(String key, ConfigurationChangeListener listener)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:285
↓ 1 callersMethodaddCustomTags
(TraceContext context, String[] tags)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:122
↓ 1 callersMethodaddMethodParameters
(TraceContext context, Object[] arguments, Class<?>[] parameterTypes, int maxSize)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:107
↓ 1 callersMethodaddMetric
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 callersMethodaddPointcut
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 callersMethodaddRandomObjects
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 callersMethodafter
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 callersMethodafterExecution
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 callersMethodafterTests
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 callersMethodalwaysFailingOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRetryTest.java:656
↓ 1 callersMethodalwaysTracedOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:512
↓ 1 callersMethodandThen
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 callersFunctionany_bool
(val: bool)
experimental/third-party-schedulers/task-scheduler-rust/tests/common/utils.rs:31
↓ 1 callersMethodapplyIsolationLevel
(TransactionContext context, DistributedTransaction transactional)
aop/src/main/java/net/legacy/library/aop/aspect/DistributedTransactionAspect.java:285
↓ 1 callersMethodapplyValidationRule
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 callersMethodasyncOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPRetryTest.java:669
↓ 1 callersMethodattemptAsync
(Object target, Method method, Retry retry, MethodInvocation invocation, Object[
aop/src/main/java/net/legacy/library/aop/aspect/RetryAspect.java:115
↓ 1 callersMethodbefore
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 callersMethodbeforeExecution
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 callersMethodbeforeTests
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 callersMethodbeginNestedTransaction
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 callersMethodbuild
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 callersMethodbuildCircuitKey
(CircuitBreaker annotation, Class<?> targetClass, Method method)
aop/src/main/java/net/legacy/library/aop/aspect/CircuitBreakerAspect.java:241
↓ 1 callersMethodbuildFunctionCallScript
(String functionName, Object... args)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:230
↓ 1 callersMethodbuildMethodSignature
(AspectContext context)
aop/src/main/java/net/legacy/library/aop/aspect/LoggingAspect.java:123
↓ 1 callersMethodbuildRateLimiterKey
(RateLimiter annotation, Method method, AspectContext context)
aop/src/main/java/net/legacy/library/aop/aspect/RateLimiterAspect.java:161
↓ 1 callersMethodcache_task_result
(&self, task_id: String, result: TaskResult)
experimental/third-party-schedulers/task-scheduler-rust/src/tasks/registry.rs:413
↓ 1 callersMethodcalculate
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 callersMethodcalculateDelay
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 callersMethodcalculateSum
(int a, int b)
aop/src/main/java/net/legacy/library/aop/test/AOPAnnotationTest.java:133
↓ 1 callersMethodcalculateWaitTime
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 callersMethodcheckRateLimit
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 callersMethodcleanupClassLoader
(ClassLoader classLoader)
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:293
↓ 1 callersMethodclear
Clears all exported spans.
aop/src/main/java/net/legacy/library/aop/tracing/InMemoryTraceExporter.java:120
↓ 1 callersMethodclear
Clears all registered participants.
aop/src/main/java/net/legacy/library/aop/transaction/ParticipantRegistry.java:120
↓ 1 callersMethodclear
Clears all timer data (both active and completed).
foundation/src/main/java/net/legacy/library/foundation/util/TestTimer.java:182
↓ 1 callersMethodclearCaches
Clears all caches maintained by this aspect.
aop/src/main/java/net/legacy/library/aop/aspect/DynamicConfigAspect.java:126
↓ 1 callersMethodclearMetrics
Clears all collected metrics.
aop/src/main/java/net/legacy/library/aop/aspect/MonitoringAspect.java:114
↓ 1 callersMethodclearMonitoringMetrics
()
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:258
↓ 1 callersMethodclearResults
Clears all test results.
annotation/src/main/java/net/legacy/library/annotation/test/TestResultRegistry.java:150
↓ 1 callersMethodclose
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 callersMethodcombinedCustomTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:225
↓ 1 callersMethodcommitParticipants
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 callersMethodcompensate
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 callersMethodcompilePattern
(String pattern)
aop/src/main/java/net/legacy/library/aop/pointcut/impl/WithinPointcut.java:64
↓ 1 callersMethodcompleteCurrentTrace
(TraceContext.TraceStatus status)
aop/src/main/java/net/legacy/library/aop/tracing/DefaultTraceService.java:69
↓ 1 callersMethodcompleteTrace
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 callersMethodcompleteTraceWithError
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 callersMethodconvertArgumentsToV8
(Object... args)
script/src/main/java/net/legacy/library/script/engine/js/V8ScriptEngine.java:132
↓ 1 callersMethodconvertDefaultValue
(String defaultValue, Class<?> targetType)
aop/src/main/java/net/legacy/library/aop/aspect/DynamicConfigAspect.java:253
↓ 1 callersMethodconvertListToCustomProtoAny
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 callersMethodconvertMapToCustomProtoAny
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 callersMethodconvertStrategy
(RateLimiter.RateLimitStrategy annotationStrategy)
aop/src/main/java/net/legacy/library/aop/aspect/RateLimiterAspect.java:152
↓ 1 callersMethodconvertToCompletableFuture
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 callersMethodcountEntitiesWithRelationship
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 callersMethodcountRelationships
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 callersMethodcreate
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 callersMethodcreate
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 callersMethodcreate
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 callersMethodcreate
Creates a test runner instance. @return the configured test runner
script/src/main/java/net/legacy/library/script/test/ScriptTestRunner.java:58
↓ 1 callersMethodcreate
Create Player module test runner
player/src/main/java/net/legacy/library/player/test/PlayerTestRunner.java:57
↓ 1 callersMethodcreateAuthorizationFailure
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 callersMethodcreateBidirectionalRelationship
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 callersMethodcreateChild
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 callersMethodcreateChildSpan
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 callersMethodcreateChildSpan
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 callersMethodcreateClassPattern
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 callersMethodcreateClassProxy
(T target, List<MethodInterceptor> interceptors)
aop/src/main/java/net/legacy/library/aop/proxy/AspectProxyFactory.java:91
↓ 1 callersMethodcreateConservativeRetry
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 callersMethodcreateCustom
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 callersMethodcreateCustomCache
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 callersMethodcreateFastRetry
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 callersMethodcreateGroovyEngine
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 callersMethodcreateHybrid
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 callersMethodcreateHybridWithPrefixes
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 callersMethodcreateInvocationChain
( Object target, Method method, Object[] args, List<MethodInterceptor> interceptors, i
aop/src/main/java/net/legacy/library/aop/proxy/AspectInvocationHandler.java:89
↓ 1 callersMethodcreateMethodPattern
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 callersMethodcreateModifierPattern
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 callersMethodcreateNoRetry
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 callersMethodcreateOrRetrieveInterceptor
(Class<?> clazz, AOPInterceptor interceptorAnnotation)
aop/src/main/java/net/legacy/library/aop/annotation/AOPPointcutProcessor.java:93
↓ 1 callersMethodcreateOrder
(String orderId, String orderData)
aop/src/main/java/net/legacy/library/aop/test/AOPValidationTracingTest.java:499
↓ 1 callersMethodcreateParameterPattern
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 callersMethodcreateParameterStringWithGenerics
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 callersMethodcreateReturnTypePattern
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 callersMethodcreateSecurityContext
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 callersMethodcreateTraceContext
(AspectContext context, Traced traced)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:90
↓ 1 callersMethodcreateTypePattern
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 callersMethodcreateUser
(String userData)
aop/src/main/java/net/legacy/library/aop/test/AOPSecurityTest.java:501
↓ 1 callersMethodcreateValidatorInstance
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 callersMethodcreateWithPattern
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 callersMethodcreateWithPrefixes
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 callersMethodcreateWithoutCleanup
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 callersMethodcustomExecutorTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:219
↓ 1 callersMethodcustomLockTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:221
↓ 1 callersMethodcustomTimeoutTest
()
aop/src/main/java/net/legacy/library/aop/test/AOPCustomTest.java:223
↓ 1 callersMethodcustomizeGsonBuilder
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 callersMethoddebugLevelOperation
(String input)
aop/src/main/java/net/legacy/library/aop/test/AOPLoggingTest.java:229
↓ 1 callersMethoddestroy
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 callersMethoddestroy
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
← previousnext →501–600 of 2,130, ranked by callers