Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- allOf(PaperTaskScheduler, TaskChain...) - Static method in interface com.cotani.task.api.TaskChain
- allOf(TaskChain...) - Method in interface com.cotani.task.api.PaperTaskScheduler
- anyOf(PaperTaskScheduler, TaskChain...) - Static method in interface com.cotani.task.api.TaskChain
- anyOf(TaskChain...) - Method in interface com.cotani.task.api.PaperTaskScheduler
- async() - Static method in interface com.cotani.task.api.ExecutionTarget
- async(Runnable) - Method in interface com.cotani.task.api.AsyncTaskExecutor
- async(Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- async(String, Runnable) - Method in interface com.cotani.task.api.AsyncTaskExecutor
- async(String, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- Async() - Constructor for record class com.cotani.task.api.ExecutionTarget.Async
-
Creates an instance of a
Asyncrecord class. - ASYNC - Static variable in interface com.cotani.task.api.ExecutionTarget
- asyncExecutor() - Method in interface com.cotani.task.api.AsyncTaskExecutor
-
Returns an executor adapter backed by this scheduler's explicit async execution policy.
- asyncExecutor() - Method in interface com.cotani.task.api.PaperTaskScheduler
- asyncLater(Runnable, Duration) - Method in interface com.cotani.task.api.DelayedTaskScheduler
- asyncLater(Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- asyncLater(String, Runnable, Duration) - Method in interface com.cotani.task.api.DelayedTaskScheduler
- asyncLater(String, Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- AsyncTaskExecutor - Interface in com.cotani.task.api
-
Executes named asynchronous work and dispatches value-producing work to an explicit target.
- asyncTimer(Runnable, Duration, Duration) - Method in interface com.cotani.task.api.DelayedTaskScheduler
- asyncTimer(Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- averageElapsed() - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
B
- backoffMultiplier() - Method in class com.cotani.task.api.RetryPolicy
- build() - Method in class com.cotani.task.api.RetryPolicy.Builder
C
- cancel() - Method in interface com.cotani.task.api.SchedulerTask
- cancel() - Method in class com.cotani.task.api.SchedulerTask.NoopSchedulerTask
- cancel() - Method in interface com.cotani.task.api.TaskChain
- cancelled() - Method in interface com.cotani.task.api.SchedulerTask
- cancelled() - Method in class com.cotani.task.api.SchedulerTask.NoopSchedulerTask
- cancelOwnedTasks() - Method in interface com.cotani.task.api.PlatformScheduler
- cancelPaperTasksOnClose() - Method in record class com.cotani.task.api.SchedulerOptions
-
Returns the value of the
cancelPaperTasksOnCloserecord component. - chain(CompletionStage) - Method in interface com.cotani.task.api.PaperTaskScheduler
- chain(CompletionStage) - Method in interface com.cotani.task.api.TaskChainFactory
-
Adapts an external stage.
- chunkX() - Method in record class com.cotani.task.api.ExecutionTarget.Region
-
Returns the value of the
chunkXrecord component. - chunkZ() - Method in record class com.cotani.task.api.ExecutionTarget.Region
-
Returns the value of the
chunkZrecord component. - clear() - Method in class com.cotani.task.bucket.DefaultTaskBucket
- clear() - Method in interface com.cotani.task.bucket.TaskBucket
- close() - Method in interface com.cotani.task.api.PaperTaskScheduler
- close() - Method in interface com.cotani.task.bucket.TaskBucket
- closeAsync() - Method in interface com.cotani.task.api.PaperTaskScheduler
-
Cancels owned tasks and closes scheduler resources without waiting on the calling thread.
- com.cotani.task - package com.cotani.task
- com.cotani.task.api - package com.cotani.task.api
- com.cotani.task.bucket - package com.cotani.task.bucket
- com.cotani.task.exception - package com.cotani.task.exception
- com.cotani.task.metrics - package com.cotani.task.metrics
- com.cotani.task.persistence - package com.cotani.task.persistence
- com.cotani.task.scheduler - package com.cotani.task.scheduler
- com.cotani.task.throttle - package com.cotani.task.throttle
- com.cotani.task.util - package com.cotani.task.util
- completedVoid() - Static method in class com.cotani.task.util.CompletionStages
-
Returns a completed stage with no value.
- completedVoid(PaperTaskScheduler) - Static method in class com.cotani.task.util.TaskChains
-
Returns a completed task chain with no value.
- CompletionStages - Class in com.cotani.task.util
-
Factory methods for commonly used
CompletionStageinstances. - consumeAsync(Consumer) - Method in interface com.cotani.task.api.TaskChain
- consumeEntity(UUID, Consumer) - Method in interface com.cotani.task.api.TaskChain
- consumeEntity(Entity, Consumer) - Method in interface com.cotani.task.api.TaskChain
- consumeGlobal(Consumer) - Method in interface com.cotani.task.api.TaskChain
- consumeRegion(UUID, int, int, Consumer) - Method in interface com.cotani.task.api.TaskChain
- consumeRegion(Location, Consumer) - Method in interface com.cotani.task.api.TaskChain
- CotaniTasks - Class in com.cotani.task
-
Entrypoint factory for the
cotani-taskmodule. - create(int, Duration) - Static method in class com.cotani.task.api.RetryPolicy.Builder
- create(int, Duration, double, double, Predicate, boolean) - Static method in class com.cotani.task.api.RetryPolicy
- create(long, long, Duration) - Static method in class com.cotani.task.throttle.TaskTokenBucketRateLimiter
- create(long, Duration) - Static method in class com.cotani.task.throttle.TaskTokenBucketRateLimiter
- create(AsyncTaskExecutor, DelayedTaskScheduler) - Static method in class com.cotani.task.bucket.DefaultTaskBucket
- create(AsyncTaskExecutor, DelayedTaskScheduler, long, Duration) - Static method in class com.cotani.task.bucket.DefaultTaskBucket
- create(PaperTaskScheduler) - Static method in class com.cotani.task.bucket.DefaultTaskBucket
- create(PaperTaskScheduler) - Static method in class com.cotani.task.bucket.TaskBucketFactory
- create(PaperTaskScheduler) - Static method in class com.cotani.task.throttle.TaskThrottler
- create(PaperTaskScheduler, int) - Static method in class com.cotani.task.throttle.TaskThrottler
- create(PaperTaskScheduler, long, Duration) - Static method in class com.cotani.task.bucket.DefaultTaskBucket
- create(PaperTaskScheduler, long, Duration) - Static method in class com.cotani.task.bucket.TaskBucketFactory
- create(TaskChainFactory, DelayedTaskScheduler) - Static method in class com.cotani.task.throttle.TaskThrottler
- create(TaskChainFactory, DelayedTaskScheduler, int) - Static method in class com.cotani.task.throttle.TaskThrottler
- create(Plugin) - Static method in class com.cotani.task.CotaniTasks
-
Creates and initializes a
PaperTaskSchedulerinstance for the given plugin. - create(Plugin) - Static method in class com.cotani.task.scheduler.SchedulerFactory
- create(Plugin, SchedulerOptions) - Static method in class com.cotani.task.scheduler.SchedulerFactory
- create(Plugin, SchedulerOptions, TaskExceptionHandler) - Static method in class com.cotani.task.scheduler.SchedulerFactory
- create(Plugin, SchedulerOptions, TaskExceptionHandler, TaskMetrics) - Static method in class com.cotani.task.scheduler.SchedulerFactory
- create(Plugin, SchedulerOptions, TaskExceptionHandler, TaskMetrics, PersistentTaskStore) - Static method in class com.cotani.task.scheduler.SchedulerFactory
- createdAt() - Method in record class com.cotani.task.api.TaskMetadata
-
Returns the value of the
createdAtrecord component. - CURRENT - Static variable in class com.cotani.task.api.TaskContextHolder
D
- debounce(String, Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- defaultFor(String) - Static method in record class com.cotani.task.api.TaskMetadata
- defaults() - Static method in record class com.cotani.task.api.SchedulerOptions
- defaultShutdownTimeout() - Method in record class com.cotani.task.api.SchedulerOptions
-
Returns the value of the
defaultShutdownTimeoutrecord component. - DefaultTaskBucket - Class in com.cotani.task.bucket
- DefaultTaskMetrics - Class in com.cotani.task.metrics
- DefaultTaskMetrics() - Constructor for class com.cotani.task.metrics.DefaultTaskMetrics
- delay() - Method in class com.cotani.task.api.RetryPolicy
- delay() - Method in record class com.cotani.task.persistence.PersistentTask
-
Returns the value of the
delayrecord component. - delayAsync(Duration) - Method in interface com.cotani.task.api.DelayedTaskScheduler
-
Completes after
duration. - delayAsync(Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- DelayedTaskScheduler - Interface in com.cotani.task.api
-
Schedules delayed and recurring asynchronous work without sleeping or blocking the caller.
- delayFor(int) - Method in class com.cotani.task.api.RetryPolicy
- delayMillisForAttempt(int) - Method in class com.cotani.task.api.RetryPolicy
E
- elapsed() - Method in class com.cotani.task.api.TaskContext
- elapsedMillis() - Method in class com.cotani.task.api.TaskContext
- entity() - Method in record class com.cotani.task.api.ExecutionTarget.EntityTarget
-
Resolves this target to a live
EntityusingBukkit.getEntity(UUID). - entity(String, UUID, Runnable) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entity(String, UUID, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entity(String, Entity, Runnable) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entity(String, Entity, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entity(UUID) - Static method in interface com.cotani.task.api.ExecutionTarget
- entity(UUID, Runnable) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entity(UUID, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entity(Entity) - Static method in interface com.cotani.task.api.ExecutionTarget
- entity(Entity, Runnable) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entity(Entity, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entityExecutor(UUID) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entityExecutor(UUID) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entityExecutor(Entity) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entityExecutor(Entity) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entityId() - Method in record class com.cotani.task.api.ExecutionTarget.EntityTarget
-
Returns the value of the
entityIdrecord component. - entityLater(String, Entity, Runnable, Duration) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entityLater(String, Entity, Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entityLater(Entity, Runnable, Duration) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entityLater(Entity, Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- EntityTarget(UUID) - Constructor for record class com.cotani.task.api.ExecutionTarget.EntityTarget
-
Creates an instance of a
EntityTargetrecord class. - EntityTaskScheduler - Interface in com.cotani.task.api
-
Dispatches work to the thread that owns an entity.
- entityTimer(String, Entity, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entityTimer(String, Entity, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- entityTimer(Entity, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.EntityTaskScheduler
- entityTimer(Entity, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- equals(Object) - Method in record class com.cotani.task.api.ExecutionTarget.Async
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.task.api.ExecutionTarget.EntityTarget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.task.api.ExecutionTarget.Global
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.task.api.ExecutionTarget.Region
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.task.api.SchedulerOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.task.api.TaskMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cotani.task.persistence.PersistentTask
-
Indicates whether some other object is "equal to" this one.
- exceptionHandler() - Method in interface com.cotani.task.api.PaperTaskScheduler
- exceptionHandler() - Method in interface com.cotani.task.api.SchedulerDiagnostics
- executions() - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
-
Returns the value of the
executionsrecord component. - ExecutionTarget - Interface in com.cotani.task.api
-
Identifies the thread/region/entity on which a task should run.
- ExecutionTarget.Async - Record Class in com.cotani.task.api
- ExecutionTarget.EntityTarget - Record Class in com.cotani.task.api
- ExecutionTarget.Global - Record Class in com.cotani.task.api
- ExecutionTarget.Region - Record Class in com.cotani.task.api
- exponential() - Method in class com.cotani.task.api.RetryPolicy.Builder
- exponential(int, Duration) - Static method in class com.cotani.task.api.RetryPolicy
- exponentialWithJitter(int, Duration) - Static method in class com.cotani.task.api.RetryPolicy
- exponentialWithJitter(int, Duration, double) - Static method in class com.cotani.task.api.RetryPolicy
F
- failures() - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
-
Returns the value of the
failuresrecord component. - FilePersistentTaskStore - Class in com.cotani.task.persistence
- FilePersistentTaskStore(Path) - Constructor for class com.cotani.task.persistence.FilePersistentTaskStore
- filter(Predicate) - Method in interface com.cotani.task.api.TaskChain
- find() - Static method in class com.cotani.task.api.TaskContextHolder
- fixed(int, Duration) - Static method in class com.cotani.task.api.RetryPolicy
- flatMap(Function) - Method in interface com.cotani.task.api.TaskChain
G
- global() - Static method in interface com.cotani.task.api.ExecutionTarget
- global(Runnable) - Method in interface com.cotani.task.api.GlobalTaskScheduler
- global(Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- global(String, Runnable) - Method in interface com.cotani.task.api.GlobalTaskScheduler
- global(String, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- Global() - Constructor for record class com.cotani.task.api.ExecutionTarget.Global
-
Creates an instance of a
Globalrecord class. - GLOBAL - Static variable in interface com.cotani.task.api.ExecutionTarget
- globalExecutor() - Method in interface com.cotani.task.api.GlobalTaskScheduler
- globalExecutor() - Method in interface com.cotani.task.api.PaperTaskScheduler
- globalLater(Runnable, Duration) - Method in interface com.cotani.task.api.GlobalTaskScheduler
- globalLater(Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- globalLater(String, Runnable, Duration) - Method in interface com.cotani.task.api.GlobalTaskScheduler
- globalLater(String, Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- GlobalTaskScheduler - Interface in com.cotani.task.api
-
Dispatches work to the Paper/Folia global scheduler thread.
- globalTimer(Runnable, Duration, Duration) - Method in interface com.cotani.task.api.GlobalTaskScheduler
- globalTimer(Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
H
- handle(TaskContext, Throwable) - Method in interface com.cotani.task.api.TaskExceptionHandler
- hashCode() - Method in record class com.cotani.task.api.ExecutionTarget.Async
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.task.api.ExecutionTarget.EntityTarget
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.task.api.ExecutionTarget.Global
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.task.api.ExecutionTarget.Region
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.task.api.SchedulerOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.task.api.TaskMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cotani.task.persistence.PersistentTask
-
Returns a hash code value for this object.
I
- id() - Method in record class com.cotani.task.persistence.PersistentTask
-
Returns the value of the
idrecord component.
J
- jitterFactor() - Method in class com.cotani.task.api.RetryPolicy
L
- limiterFor(String) - Method in class com.cotani.task.bucket.DefaultTaskBucket
- limiterFor(String) - Method in interface com.cotani.task.bucket.TaskBucket
- loadPending() - Method in class com.cotani.task.persistence.FilePersistentTaskStore
- loadPending() - Method in class com.cotani.task.persistence.NoopPersistentTaskStore
- loadPending() - Method in interface com.cotani.task.persistence.PersistentTaskStore
- location() - Method in record class com.cotani.task.api.ExecutionTarget.Region
-
Resolves this region to a
LocationusingBukkit.getWorld(UUID).
M
- markCompleted(PersistentTask) - Method in class com.cotani.task.persistence.FilePersistentTaskStore
- markCompleted(PersistentTask) - Method in class com.cotani.task.persistence.NoopPersistentTaskStore
- markCompleted(PersistentTask) - Method in interface com.cotani.task.persistence.PersistentTaskStore
- MAX_PAYLOAD_BYTES - Static variable in record class com.cotani.task.persistence.PersistentTask
- MAX_TASK_NAME_LENGTH - Static variable in record class com.cotani.task.persistence.PersistentTask
- maxAttempts() - Method in class com.cotani.task.api.RetryPolicy
- maxAttempts() - Method in class com.cotani.task.throttle.TaskThrottler
- maxConcurrentVirtualThreads() - Method in record class com.cotani.task.api.SchedulerOptions
-
Returns the value of the
maxConcurrentVirtualThreadsrecord component. - metadata() - Method in class com.cotani.task.api.TaskContext
- metrics() - Method in interface com.cotani.task.api.PaperTaskScheduler
- metrics() - Method in interface com.cotani.task.api.SchedulerDiagnostics
N
- name() - Method in record class com.cotani.task.api.TaskMetadata
-
Returns the value of the
namerecord component. - name() - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
-
Returns the value of the
namerecord component. - named(String, ExecutionTarget) - Static method in record class com.cotani.task.api.TaskMetadata
- noop() - Static method in interface com.cotani.task.api.SchedulerTask
- NoopPersistentTaskStore - Class in com.cotani.task.persistence
- NoopPersistentTaskStore() - Constructor for class com.cotani.task.persistence.NoopPersistentTaskStore
- nullValue() - Static method in class com.cotani.task.util.VoidResult
O
- onCancel(Runnable) - Method in interface com.cotani.task.api.TaskChain
- onComplete(Runnable) - Method in interface com.cotani.task.api.TaskChain
- onError(Consumer) - Method in interface com.cotani.task.api.TaskChain
- onStart(Runnable) - Method in interface com.cotani.task.api.TaskChain
P
- PaperTaskScheduler - Interface in com.cotani.task.api
-
Complete scheduling facade for Paper and Folia.
- payload() - Method in record class com.cotani.task.persistence.PersistentTask
-
Returns the value of the
payloadrecord component. - persistAndRun(String, Duration, byte[], Consumer) - Method in interface com.cotani.task.api.PaperTaskScheduler
-
Persists and schedules a task with at-least-once crash-recovery semantics.
- persistAndRun(String, Duration, byte[], Consumer) - Method in interface com.cotani.task.api.PersistentTaskScheduler
-
Persists and schedules a task.
- PersistentTask - Record Class in com.cotani.task.persistence
- PersistentTask(UUID, String, Instant, Duration, byte[]) - Constructor for record class com.cotani.task.persistence.PersistentTask
-
Creates an instance of a
PersistentTaskrecord class. - PersistentTaskScheduler - Interface in com.cotani.task.api
-
Schedules crash-recoverable work with at-least-once execution semantics.
- PersistentTaskStore - Interface in com.cotani.task.persistence
- PlatformScheduler - Interface in com.cotani.task.api
R
- RateLimiter - Interface in com.cotani.task.throttle
- RateLimitExceededException - Exception Class in com.cotani.task.throttle
- RateLimitExceededException(int) - Constructor for exception class com.cotani.task.throttle.RateLimitExceededException
- record(TaskMetadata, boolean, Duration) - Method in class com.cotani.task.metrics.DefaultTaskMetrics
- record(TaskMetadata, boolean, Duration) - Method in interface com.cotani.task.metrics.TaskMetrics
- recoverPendingTasksAsync() - Method in interface com.cotani.task.api.PaperTaskScheduler
- recoverPendingTasksAsync() - Method in interface com.cotani.task.api.PersistentTaskScheduler
-
Loads pending records asynchronously on the scheduler's explicit async executor.
- region(String, UUID, int, int, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- region(String, UUID, int, int, Runnable) - Method in interface com.cotani.task.api.RegionTaskScheduler
- region(String, Location, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- region(String, Location, Runnable) - Method in interface com.cotani.task.api.RegionTaskScheduler
- region(UUID, int, int) - Static method in interface com.cotani.task.api.ExecutionTarget
- region(UUID, int, int, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- region(UUID, int, int, Runnable) - Method in interface com.cotani.task.api.RegionTaskScheduler
- region(Location) - Static method in interface com.cotani.task.api.ExecutionTarget
- region(Location, Runnable) - Method in interface com.cotani.task.api.PaperTaskScheduler
- region(Location, Runnable) - Method in interface com.cotani.task.api.RegionTaskScheduler
- Region(UUID, int, int) - Constructor for record class com.cotani.task.api.ExecutionTarget.Region
-
Creates an instance of a
Regionrecord class. - regionExecutor(UUID, int, int) - Method in interface com.cotani.task.api.PaperTaskScheduler
- regionExecutor(UUID, int, int) - Method in interface com.cotani.task.api.RegionTaskScheduler
- regionExecutor(Location) - Method in interface com.cotani.task.api.PaperTaskScheduler
- regionExecutor(Location) - Method in interface com.cotani.task.api.RegionTaskScheduler
- regionLater(String, Location, Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- regionLater(String, Location, Runnable, Duration) - Method in interface com.cotani.task.api.RegionTaskScheduler
- regionLater(Location, Runnable, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- regionLater(Location, Runnable, Duration) - Method in interface com.cotani.task.api.RegionTaskScheduler
- RegionTaskScheduler - Interface in com.cotani.task.api
-
Dispatches work to the owner of a Paper/Folia region.
- regionTimer(String, Location, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- regionTimer(String, Location, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.RegionTaskScheduler
- regionTimer(Location, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PaperTaskScheduler
- regionTimer(Location, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.RegionTaskScheduler
- retry(RetryPolicy) - Method in interface com.cotani.task.api.TaskChain
-
Retries the chain when it fails using
retryPolicy. - retryDelay() - Method in interface com.cotani.task.throttle.RateLimiter
-
Returns the suggested non-negative delay to wait before the next
RateLimiter.tryAcquire()attempt. - retryDelay() - Method in class com.cotani.task.throttle.TaskTokenBucketRateLimiter
- retryIf() - Method in class com.cotani.task.api.RetryPolicy
- retryIf(Predicate) - Method in class com.cotani.task.api.RetryPolicy.Builder
- retryIf(Predicate) - Method in class com.cotani.task.api.RetryPolicy
- RetryPolicy - Class in com.cotani.task.api
- RetryPolicy.Builder - Class in com.cotani.task.api
- runAsync(TaskMetadata, Runnable) - Method in interface com.cotani.task.api.PlatformScheduler
- runAsyncLater(TaskMetadata, Runnable, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runAsyncTimer(TaskMetadata, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runEntity(TaskMetadata, UUID, Runnable, Runnable) - Method in interface com.cotani.task.api.PlatformScheduler
- runEntity(TaskMetadata, Entity, Runnable, Runnable) - Method in interface com.cotani.task.api.PlatformScheduler
- runEntityLater(TaskMetadata, UUID, Runnable, Runnable, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runEntityLater(TaskMetadata, Entity, Runnable, Runnable, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runEntityTimer(TaskMetadata, UUID, Runnable, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runEntityTimer(TaskMetadata, Entity, Runnable, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runGlobal(TaskMetadata, Runnable) - Method in interface com.cotani.task.api.PlatformScheduler
- runGlobalLater(TaskMetadata, Runnable, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runGlobalTimer(TaskMetadata, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runRegion(TaskMetadata, UUID, int, int, Runnable) - Method in interface com.cotani.task.api.PlatformScheduler
- runRegion(TaskMetadata, Location, Runnable) - Method in interface com.cotani.task.api.PlatformScheduler
- runRegionLater(TaskMetadata, UUID, int, int, Runnable, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runRegionLater(TaskMetadata, Location, Runnable, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runRegionTimer(TaskMetadata, UUID, int, int, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
- runRegionTimer(TaskMetadata, Location, Runnable, Duration, Duration) - Method in interface com.cotani.task.api.PlatformScheduler
S
- save(PersistentTask) - Method in class com.cotani.task.persistence.FilePersistentTaskStore
- save(PersistentTask) - Method in class com.cotani.task.persistence.NoopPersistentTaskStore
- save(PersistentTask) - Method in interface com.cotani.task.persistence.PersistentTaskStore
- scheduledAt() - Method in record class com.cotani.task.persistence.PersistentTask
-
Returns the value of the
scheduledAtrecord component. - SchedulerDiagnostics - Interface in com.cotani.task.api
-
Exposes scheduler observability and failure-reporting contracts without dispatch capabilities.
- SchedulerFactory - Class in com.cotani.task.scheduler
- SchedulerOptions - Record Class in com.cotani.task.api
- SchedulerOptions(boolean, boolean, Duration, int) - Constructor for record class com.cotani.task.api.SchedulerOptions
-
Creates an instance of a
SchedulerOptionsrecord class. - SchedulerTask - Interface in com.cotani.task.api
- SchedulerTask.NoopSchedulerTask - Class in com.cotani.task.api
- shouldRetry(int, Throwable) - Method in class com.cotani.task.api.RetryPolicy
- snapshot(String) - Method in class com.cotani.task.metrics.DefaultTaskMetrics
- snapshot(String) - Method in interface com.cotani.task.metrics.TaskMetrics
- snapshotAll() - Method in class com.cotani.task.metrics.DefaultTaskMetrics
- snapshotAll() - Method in interface com.cotani.task.metrics.TaskMetrics
- start(TaskMetadata) - Static method in class com.cotani.task.api.TaskContext
- startedAt() - Method in class com.cotani.task.api.TaskContext
- submit(String, Runnable) - Method in class com.cotani.task.bucket.DefaultTaskBucket
- submit(String, Runnable) - Method in interface com.cotani.task.bucket.TaskBucket
- submit(String, String, Runnable) - Method in class com.cotani.task.bucket.DefaultTaskBucket
- submit(String, String, Runnable) - Method in interface com.cotani.task.bucket.TaskBucket
- supply(ExecutionTarget, String, Supplier) - Method in interface com.cotani.task.api.AsyncTaskExecutor
- supply(ExecutionTarget, String, Supplier) - Method in interface com.cotani.task.api.PaperTaskScheduler
- supplyAsync(String, Supplier) - Method in interface com.cotani.task.api.PaperTaskScheduler
- supplyAsync(String, Supplier) - Method in interface com.cotani.task.api.TaskChainFactory
- supplyAsync(Supplier) - Method in interface com.cotani.task.api.PaperTaskScheduler
- supplyAsync(Supplier) - Method in interface com.cotani.task.api.TaskChainFactory
- symmetricJitter() - Method in class com.cotani.task.api.RetryPolicy
T
- target() - Method in record class com.cotani.task.api.TaskMetadata
-
Returns the value of the
targetrecord component. - TaskBucket - Interface in com.cotani.task.bucket
- TaskBucketFactory - Class in com.cotani.task.bucket
- TaskChain<T> - Interface in com.cotani.task.api
- TaskChainFactory - Interface in com.cotani.task.api
-
Creates repeatable scheduler chains or adapts an external, non-repeatable stage.
- TaskChains - Class in com.cotani.task.util
-
Factory methods for commonly used
TaskChaininstances. - TaskContext - Class in com.cotani.task.api
- TaskContextHolder - Class in com.cotani.task.api
- TaskExceptionHandler - Interface in com.cotani.task.api
- TaskExecutionException - Exception Class in com.cotani.task.exception
-
Signals that a task failed with a checked exception that cannot be propagated directly.
- TaskExecutionException(Throwable) - Constructor for exception class com.cotani.task.exception.TaskExecutionException
- TaskMetadata - Record Class in com.cotani.task.api
- TaskMetadata(String, ExecutionTarget, Instant) - Constructor for record class com.cotani.task.api.TaskMetadata
-
Creates an instance of a
TaskMetadatarecord class. - TaskMetrics - Interface in com.cotani.task.metrics
- TaskMetricSnapshot - Record Class in com.cotani.task.metrics
- TaskMetricSnapshot(String, long, long, Duration) - Constructor for record class com.cotani.task.metrics.TaskMetricSnapshot
-
Creates an instance of a
TaskMetricSnapshotrecord class. - taskName() - Method in record class com.cotani.task.persistence.PersistentTask
-
Returns the value of the
taskNamerecord component. - TaskThrottler - Class in com.cotani.task.throttle
- TaskTimeoutException - Exception Class in com.cotani.task.exception
- TaskTimeoutException(Duration) - Constructor for exception class com.cotani.task.exception.TaskTimeoutException
- TaskTokenBucketRateLimiter - Class in com.cotani.task.throttle
- thenAsync(Function) - Method in interface com.cotani.task.api.TaskChain
- thenEntity(UUID, Function) - Method in interface com.cotani.task.api.TaskChain
- thenEntity(Entity, Function) - Method in interface com.cotani.task.api.TaskChain
- thenGlobal(Function) - Method in interface com.cotani.task.api.TaskChain
- thenRegion(UUID, int, int, Function) - Method in interface com.cotani.task.api.TaskChain
- thenRegion(Location, Function) - Method in interface com.cotani.task.api.TaskChain
- throttle(Supplier, RateLimiter) - Method in class com.cotani.task.throttle.TaskThrottler
- timeout() - Method in exception class com.cotani.task.exception.TaskTimeoutException
- timeout(Duration) - Method in interface com.cotani.task.api.TaskChain
- toCompletionStage() - Method in interface com.cotani.task.api.TaskChain
- toString() - Method in record class com.cotani.task.api.ExecutionTarget.Async
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.task.api.ExecutionTarget.EntityTarget
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.task.api.ExecutionTarget.Global
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.task.api.ExecutionTarget.Region
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.task.api.SchedulerOptions
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.task.api.TaskMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
-
Returns a string representation of this record class.
- toString() - Method in record class com.cotani.task.persistence.PersistentTask
-
Returns a string representation of this record class.
- totalElapsed() - Method in record class com.cotani.task.metrics.TaskMetricSnapshot
-
Returns the value of the
totalElapsedrecord component. - tryAcquire() - Method in interface com.cotani.task.throttle.RateLimiter
- tryAcquire() - Method in class com.cotani.task.throttle.TaskTokenBucketRateLimiter
U
- unnamed(ExecutionTarget) - Static method in record class com.cotani.task.api.TaskMetadata
- useVirtualThreads() - Method in record class com.cotani.task.api.SchedulerOptions
-
Returns the value of the
useVirtualThreadsrecord component.
V
- VoidResult - Class in com.cotani.task.util
-
Provides a single, safe way to produce the only legal
Voidvalue.
W
- withJitter(double) - Method in class com.cotani.task.api.RetryPolicy.Builder
- withJitter(double) - Method in class com.cotani.task.api.RetryPolicy
- withMultiplier(double) - Method in class com.cotani.task.api.RetryPolicy.Builder
- withSymmetricJitter() - Method in class com.cotani.task.api.RetryPolicy.Builder
- withSymmetricJitter() - Method in class com.cotani.task.api.RetryPolicy
- worldId() - Method in record class com.cotani.task.api.ExecutionTarget.Region
-
Returns the value of the
worldIdrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form