MCPcopy Create free account

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

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

↓ 5 callersMethodgetMetadata
(String key)
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:320
↓ 5 callersMethodgetName
Gets the name of the configuration source. @return the source name
aop/src/main/java/net/legacy/library/aop/config/ConfigurationSource.java:24
↓ 5 callersMethodgetRLPDSKey
Generates a key for a {@link LegacyPlayerDataService} and a {@link UUID}. @param uuid the UUID of the player @param legacyPlayerDa
player/src/main/java/net/legacy/library/player/util/RKeyUtil.java:77
↓ 5 callersMethodgetStoreCount
()
cache/src/main/java/net/legacy/library/cache/test/AbstractCacheServiceTest.java:353
↓ 5 callersMethodhasRelationship
Checks if this entity has a specific relationship with another entity. @param relationshipType the type of relationship @param targetEntityUuid the U
player/src/main/java/net/legacy/library/player/model/LegacyEntityData.java:236
↓ 5 callersMethodlogDistributedFailure
Logs distributed counter failures for monitoring and debugging. @param key the key that failed @param throwable the exception that occurred
player/src/main/java/net/legacy/library/player/task/redis/resilience/HybridRetryCounter.java:261
↓ 5 callersMethodmatchesCriterion
Checks if an entity matches a relationship criterion. @param entity the entity to check @param criterion the relationship criterion to match again
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:863
↓ 5 callersMethodnotifyChangeListeners
Notifies change listeners of a configuration change. @param key the configuration key @param oldValue the old value @param newValue the new valu
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:547
↓ 5 callersMethodof
Static factory method to create a new lockable resource instance. @param resource the underlying resource to be wrapped @param <R> the resource
cache/src/main/java/net/legacy/library/cache/service/AbstractLockable.java:45
↓ 5 callersMethodof
Creates a new {@link LegacyPlayerDataService}. @param name the unique name of the service @param mongoDBConnectionConfig the M
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:144
↓ 5 callersFunctionproperties
build.gradle.kts:6
↓ 5 callersMethodsaveLegacyPlayerData
Saves player data to L2 cache and schedules database persistence. <p>This method performs the following operations: <ol> <li>Save the data to L2 ca
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:408
↓ 5 callersMethodsetAttribute
Sets a context attribute. @param key the attribute key @param value the attribute value
aop/src/main/java/net/legacy/library/aop/model/AspectContext.java:52
↓ 5 callersMethodwrapGroovyException
(String message, Throwable cause)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:278
↓ 4 callersFunctionany_i32
Convert i32 to Any message
experimental/third-party-schedulers/task-scheduler-rust/tests/common/utils.rs:22
↓ 4 callersFunctionany_map
(map: HashMap<String, Any>)
experimental/third-party-schedulers/task-scheduler-rust/tests/common/utils.rs:76
↓ 4 callersMethodapplyFunctionWithLock
Applies a function to the underlying cache of a specific level (with lock). <p>This method obtains the lock from the targeted cache (using the provid
cache/src/main/java/net/legacy/library/cache/service/multi/FlexibleMultiLevelCacheService.java:104
↓ 4 callersMethodcalculateSum
(int a, int b)
aop/src/main/java/net/legacy/library/aop/test/AOPMonitoringTest.java:270
↓ 4 callersMethodcompile
{@inheritDoc} @param script {@inheritDoc} @return {@inheritDoc} @throws ScriptException {@inheritDoc}
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:108
↓ 4 callersMethodconfigureSimplixBuilder
Configures the {@link SimplixBuilder} with default settings for data type, config settings, and reload behavior. @param builder the {@link SimplixBui
configuration/src/main/java/net/legacy/library/configuration/factory/SimplixBuilderFactory.java:87
↓ 4 callersMethodconvertToProtoAny
Converts a general Java object into a Protobuf {@link Any} message suitable for task arguments. <p>This method uses pattern matching to handle differ
experimental/third-party-schedulers/bukkit-grpc-client/src/main/java/net/legacy/library/grpcclient/task/ProtoConversionUtil.java:45
↓ 4 callersMethodcreate
Creates a new LocalRetryCounter with automatic TTL cleanup. <p>The cleanup task runs every minute to remove expired entries, keeping memory usage und
player/src/main/java/net/legacy/library/player/task/redis/resilience/LocalRetryCounter.java:66
↓ 4 callersMethodcreate
Create Commons module test runner
commons/src/main/java/net/legacy/library/commons/test/CommonsTestRunner.java:54
↓ 4 callersMethodcreateLocal
Creates a local retry counter with automatic cleanup. @return a new {@link LocalRetryCounter} instance
player/src/main/java/net/legacy/library/player/task/redis/resilience/RetryCounterFactory.java:62
↓ 4 callersMethoddelete
Deletes a configuration property from this source. @param key the configuration key @return true if the property was deleted successfully
aop/src/main/java/net/legacy/library/aop/config/ConfigurationSource.java:95
↓ 4 callersMethoddeserialize
{@inheritDoc} @param json {@inheritDoc} @param typeOfT {@inheritDoc} @param context {@inheritDoc} @return {@inheritDoc} @throws JsonParseException
player/src/main/java/net/legacy/library/player/serialize/adapter/PairTypeAdapter.java:49
↓ 4 callersMethodensureConfigurationLoaded
()
aop/src/main/java/net/legacy/library/aop/service/AOPService.java:355
↓ 4 callersMethodensureIndex
Helper method to create a MongoDB index if it doesn't already exist. <p>It generates a standardized index name and handles potential {@link MongoComm
player/src/main/java/net/legacy/library/player/index/LegacyIndexManager.java:131
↓ 4 callersMethodexception
Handles an exception that occurred during the processing of a class. @param clazz the class that encountered an exception during processing @para
annotation/src/main/java/net/legacy/library/annotation/service/CustomAnnotationProcessor.java:38
↓ 4 callersMethodexecute
Executes the compensation action with the given failure context. <p>This method should handle any cleanup, rollback, or alternative processing requir
player/src/main/java/net/legacy/library/player/task/redis/resilience/CompensationAction.java:102
↓ 4 callersMethodexecuteCompiled
Executes a previously compiled script. @param compiledScript The compiled script object (returned by {@link #compile}). @param scriptScope The scr
script/src/main/java/net/legacy/library/script/engine/ScriptEngineInterface.java:123
↓ 4 callersMethodgenerateKey
Generates a unique key for a class and test name combination. @param clazz the class @param testName the test name @return the generated key
annotation/src/main/java/net/legacy/library/annotation/test/TestResultRegistry.java:162
↓ 4 callersMethodgetAccessCount
()
cache/src/main/java/net/legacy/library/cache/test/AbstractCacheServiceTest.java:349
↓ 4 callersMethodgetCacheWithType
Gets the underlying cache implementation with a specific type. @param <R> the desired return type @return the cache implementation of type {@code R}
cache/src/main/java/net/legacy/library/cache/service/multi/TieredCacheLevel.java:60
↓ 4 callersMethodgetExecutor
Gets a custom executor by name @param name the executor name @return the executor, or null if not found
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutorRegistry.java:110
↓ 4 callersMethodgetFromDatabase
Retrieves the {@link LegacyEntityData} from the database. @param uuid the unique identifier of the entity @return the entity data retrieved from the
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:313
↓ 4 callersMethodgetGroovyBinding
(ScriptScope scriptScope)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:266
↓ 4 callersMethodgetLegacyEntityDataService
Retrieves a {@link LegacyEntityDataService} by its unique name. @param name the name of the service to retrieve @return an {@link Optional} containin
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:218
↓ 4 callersMethodgetLegacyPlayerDataService
Retrieves a {@link LegacyPlayerDataService} by its unique name. @param name the name of the service to retrieve @return an {@link Optional} containin
player/src/main/java/net/legacy/library/player/service/LegacyPlayerDataService.java:190
↓ 4 callersMethodgetMetrics
Gets the rate limiter metrics. @return the rate limiter metrics
aop/src/main/java/net/legacy/library/aop/fault/RateLimiter.java:161
↓ 4 callersMethodgetName
Gets the name of this security provider. @return provider name
aop/src/main/java/net/legacy/library/aop/security/SecurityProvider.java:21
↓ 4 callersMethodgetOrCacheEntity
Helper method to get an entity and cache it during a transaction. @param entityId the entity ID to get @param cache the transaction cache of modif
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:946
↓ 4 callersMethodgetResultWithMersenneTwister
Randomly returns an object based on the probability of all current random objects. <p>This method uses the Mersenne Twister pseudo-random number gene
commons/src/main/java/net/legacy/library/commons/util/random/RandomGenerator.java:292
↓ 4 callersMethodgetSuccessRate
Calculates the success rate as a percentage. @return the success rate (0.0 to 100.0)
foundation/src/main/java/net/legacy/library/foundation/test/TestMetrics.java:220
↓ 4 callersMethodgiveUp
Creates a result indicating the operation should be abandoned with compensation. <p>The specified compensation action will be executed to handle the
player/src/main/java/net/legacy/library/player/task/redis/resilience/FailureHandlingResult.java:101
↓ 4 callersMethodisBetween
Checks if the int value is within the specified range (inclusive). @param value the value to check @param min the minimum value (inclusive) @param
commons/src/main/java/net/legacy/library/commons/util/ValidationUtil.java:587
↓ 4 callersMethodisCacheEnabled
()
aop/src/main/java/net/legacy/library/aop/config/ConfigurationService.java:312
↓ 4 callersMethodisGreaterThan
Checks if the int value is greater than the specified minimum (exclusive). @param value the value to check @param min the minimum value (exclusive)
commons/src/main/java/net/legacy/library/commons/util/ValidationUtil.java:498
↓ 4 callersMethodisValid
()
aop/src/main/java/net/legacy/library/aop/config/ConfigurationService.java:221
↓ 4 callersMethodmatches
Checks if the string matches the regular expression. @param inputString the string to check @param regex the regular expression @return true if
commons/src/main/java/net/legacy/library/commons/util/ValidationUtil.java:272
↓ 4 callersMethodof
Static factory method for creating a {@link TieredCacheLevel}. @param level the level identifier @param cache the underlying cache @param <L> the t
cache/src/main/java/net/legacy/library/cache/service/multi/TieredCacheLevel.java:39
↓ 4 callersMethodof
Factory method to create a new {@link PlayerDataPersistenceTask}. @param lockSettings the settings for lock acquisition @param legacyPlaye
player/src/main/java/net/legacy/library/player/task/PlayerDataPersistenceTask.java:51
↓ 4 callersMethodof
Creates a new {@link EntityRStreamTask} instance with the specified task name, data, and expiration time. @param actionName the name of the task
player/src/main/java/net/legacy/library/player/task/redis/EntityRStreamTask.java:48
↓ 4 callersMethodpubEntityRStreamTask
Publishes an entity-related task to the Redis stream for processing across servers. <p>After the returned {@link ScheduledTask} is executed, it indic
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:232
↓ 4 callersMethodrecordFailure
(TraceContext traceContext, Traced traced, Throwable throwable, long startTime)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:177
↓ 4 callersMethodrecordSuccess
(TraceContext traceContext, Traced traced, Object result, long startTime)
aop/src/main/java/net/legacy/library/aop/aspect/TracingAspect.java:168
↓ 4 callersMethodregisterProvider
Registers a security provider. @param provider the security provider to register
aop/src/main/java/net/legacy/library/aop/security/SecurityProviderRegistry.java:37
↓ 4 callersMethodretrieveOrStoreInCache
Core method implementing the cache retrieval and storage logic with expiration support. @param value the value from cache, may be {@code nu
cache/src/main/java/net/legacy/library/cache/service/redis/RedisCacheService.java:126
↓ 4 callersFunctionrootProperties
cache/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
mongodb/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
aop/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
annotation/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
script/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
configuration/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
player/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
foundation/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
experimental/third-party-schedulers/bukkit-grpc-client/build.gradle.kts:2
↓ 4 callersFunctionrootProperties
commons/build.gradle.kts:2
↓ 4 callersMethodselectCounter
Selects the appropriate counter based on the configured predicate. @param key the key to evaluate @return the selected {@link RetryCounter} implement
player/src/main/java/net/legacy/library/player/task/redis/resilience/HybridRetryCounter.java:248
↓ 4 callersMethodsetEntityDefaultTTL
Sets the default TTL for an entity in the L2 cache. If the entity 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/LegacyEntityDataService.java:1080
↓ 4 callersMethodsetEntityTTL
Sets the TTL (Time-To-Live) for an entity in the L2 cache. If the entity doesn't exist in L2 cache, this method will have no effect. @param uuid the
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:1052
↓ 4 callersMethodsetGlobalVariable
Sets the value of a global variable in the engine's scope. @param name The name of the global variable @param value The value to set for the global
script/src/main/java/net/legacy/library/script/engine/ScriptEngineInterface.java:208
↓ 4 callersMethodsetReliableTTL
Sets TTL for an existing Redis key using atomic operations. <p>Uses Lua script to atomically set TTL without modifying the value. This preserves exis
player/src/main/java/net/legacy/library/player/util/TTLUtil.java:141
↓ 4 callersMethodsetTTLIfMissing
Atomically sets TTL for a key if it doesn't already have one. <p>Uses Lua script to prevent race conditions between TTL check and setting. @param re
player/src/main/java/net/legacy/library/player/util/TTLUtil.java:203
↓ 4 callersFunctionsetup_with_options
(port: Option<u16>, library_dir: Option<&str>)
experimental/third-party-schedulers/task-scheduler-rust/tests/common/mod.rs:103
↓ 4 callersMethodshouldApplyAspect
Checks if aspects should be applied based on ClassLoader isolation. @param aspectContext the aspect context @param aspectLoader the ClassLoader of t
aop/src/main/java/net/legacy/library/aop/service/ClassLoaderIsolationService.java:66
↓ 4 callersMethodshutdown
()
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:345
↓ 4 callersMethodsupports
Checks if this executor supports the given method context @param context the aspect context @return true if supported, false otherwise
aop/src/main/java/net/legacy/library/aop/custom/CustomExecutor.java:61
↓ 4 callersMethodvalid
()
aop/src/main/java/net/legacy/library/aop/config/ConfigurationService.java:209
↓ 3 callersMethodaddAttributes
Adds multiple attributes to the entity. @param attributes the map containing the attributes to add @return the current instance for method chaining
player/src/main/java/net/legacy/library/player/model/LegacyEntityData.java:158
↓ 3 callersMethodaddConfigurationSource
Adds a configuration source to the service. @param source the configuration source to add
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:74
↓ 3 callersFunctionany_list
(items: Vec<Any>)
experimental/third-party-schedulers/task-scheduler-rust/tests/common/utils.rs:64
↓ 3 callersMethodbeginTransaction
Begins a new distributed transaction. @param annotation the distributed transaction annotation @param methodName the method name for transaction iden
aop/src/main/java/net/legacy/library/aop/transaction/DistributedTransactionCoordinator.java:53
↓ 3 callersMethodcommit
Commits the transaction (second phase of 2PC). <p>This method should make permanent changes to the underlying data store. Once this method completes
aop/src/main/java/net/legacy/library/aop/transaction/TransactionParticipant.java:56
↓ 3 callersMethodconvertStringToValue
Converts a string value to the appropriate type. @param stringValue the string value @return the converted value
aop/src/main/java/net/legacy/library/aop/config/DefaultConfigurationService.java:395
↓ 3 callersMethodconvertV8ToJava
(V8Value value)
script/src/main/java/net/legacy/library/script/engine/js/V8ScriptEngine.java:265
↓ 3 callersMethodcopyState
(Object source, Object target)
aop/src/main/java/net/legacy/library/aop/proxy/AspectProxyFactory.java:51
↓ 3 callersMethodcreate
Creates a new context for the given method invocation. @param target the target object @param method the method being invoked @param arguments
aop/src/main/java/net/legacy/library/aop/model/AspectContext.java:40
↓ 3 callersMethodcreateEntityIfNotExists
Creates a new entity with the specified type if it doesn't exist. @param uuid the unique identifier of the entity @param entityType the type of
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:330
↓ 3 callersMethodcreateInvocationScenario
(ClassLoader loader)
aop/src/main/java/net/legacy/library/aop/test/ClassLoaderIsolationTest.java:82
↓ 3 callersMethodcreateRStreamTask
Creates a new {@link EntityRStreamTask} for updating entity data based on the entity's UUID. @param uuid the {@link UUID} of the entity @pa
player/src/main/java/net/legacy/library/player/task/redis/impl/EntityDataUpdateRStreamAccepter.java:45
↓ 3 callersMethodcreateScriptInstance
(Class<?> scriptClass, Binding binding)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:286
↓ 3 callersMethodcreateShellForBinding
(Binding binding)
script/src/main/java/net/legacy/library/script/engine/groovy/GroovyEngine.java:258
↓ 3 callersMethodexecuteTestClass
Execute all test methods in a test class
commons/src/main/java/net/legacy/library/commons/test/CommonsTestRunner.java:114
↓ 3 callersMethodextractIntegerMetadata
Safely extracts integer metadata with default value. @param metadata the metadata map @param key the metadata key @return the integer value or 0
foundation/src/main/java/net/legacy/library/foundation/test/TestExecutionUtil.java:106
↓ 3 callersMethodfindEntitiesByRelationship
Finds all entities that have a relationship with the specified entity. @param relationshipType the type of relationship to search for @param targetEn
player/src/main/java/net/legacy/library/player/service/LegacyEntityDataService.java:664
↓ 3 callersMethodformatArguments
(Object[] args)
aop/src/main/java/net/legacy/library/aop/aspect/LoggingAspect.java:129
↓ 3 callersMethodgetActionName
{@inheritDoc} @return {@inheritDoc}
player/src/main/java/net/legacy/library/player/task/redis/resilience/ResilientRStreamAccepter.java:96
↓ 3 callersMethodgetCurrentTrace
Gets the current active trace context. @return the current trace context, or null if no active trace
aop/src/main/java/net/legacy/library/aop/tracing/TraceService.java:42
↓ 3 callersMethodgetEntityKey
Generates a Redis key for storing entity data. @param uuid the UUID of the entity @param service the entity data service @return the generated Red
player/src/main/java/net/legacy/library/player/util/EntityRKeyUtil.java:32
← previousnext →201–300 of 2,130, ranked by callers