Uses of Interface
com.ultikits.ultitools.scheduling.TaskHandle
Packages that use TaskHandle
Package
Description
New command handling framework with improved architecture.
The rendering engine and GUI base classes: build grid snapshots, show sessions, schedule entity frames.
Thread-affine scheduling for UltiTools 7, shaped after Paper's global, region, entity and
async schedulers so call sites remain correct if Folia support is declared later.
Internal chest rendering, event routing and pure gesture decoders.
Framework-owned item conservation, contribution accounting and bounded container lifecycle.
Internal session coordination and the editable-slot runtime seam.
-
Uses of TaskHandle in com.ultikits.ultitools.abstracts.command
Method parameters in com.ultikits.ultitools.abstracts.command with type arguments of type TaskHandleModifier and TypeMethodDescriptionprivate static voidBaseCommandExecutor.armTimeoutWatcher(CommandContext context, AsyncCommand asyncCommand, AtomicBoolean reported, AtomicReference<TaskHandle> timeoutWatcher) Arms the delayed watcher that reports a timeout message to the sender if the command body has not already completed by then.private static voidBaseCommandExecutor.cancelTimeoutWatcher(AtomicReference<TaskHandle> timeoutWatcher) private voidBaseCommandExecutor.dispatchAsyncCommand(CommandContext context, AsyncCommand asyncCommand, Runnable runnable, AtomicBoolean reported, AtomicReference<TaskHandle> timeoutWatcher, List<CommandValidator> ranValidators) Sends the optional "processing" message, dispatchesrunnableasynchronously exactly once, and arms the timeout watcher if configured.private voidBaseCommandExecutor.invokeCommandBody(CommandContext context, Method method, Object[] params, List<CommandValidator> ranValidators, TriggerContext triggerCtx, AtomicBoolean reported, AtomicReference<TaskHandle> timeoutWatcher) Runs the matched command method plus its surrounding bookkeeping (audit-user context, post-action validator hooks, error reporting, the WIRE-12 completion flag) -- the body of theRunnableBaseCommandExecutor.executeCommand(CommandContext, Method, Object[], ValidatorChain.ChainValidationResult)schedules. -
Uses of TaskHandle in com.ultikits.ultitools.abstracts.gui.declarative.engine
Fields in com.ultikits.ultitools.abstracts.gui.declarative.engine declared as TaskHandleFields in com.ultikits.ultitools.abstracts.gui.declarative.engine with type parameters of type TaskHandleMethods in com.ultikits.ultitools.abstracts.gui.declarative.engine that return TaskHandleModifier and TypeMethodDescriptionprivate TaskHandleCalled with the queue monitor held; TaskContext.run never runs inline. -
Uses of TaskHandle in com.ultikits.ultitools.manager
Fields in com.ultikits.ultitools.manager declared as TaskHandleModifier and TypeFieldDescription(package private) TaskHandleTaskManager.BoundTask.taskprivate TaskHandleUpdateManager.taskFields in com.ultikits.ultitools.manager with type parameters of type TaskHandleModifier and TypeFieldDescription(package private) final Set<TaskHandle> TaskManager.BoundTask.asyncRunsOutstanding async bodies, removed on completion and cancelled on module unload.private final Map<Scheduler, List<TaskHandle>> TaskManager.scheduledTasksAnnotation handles retained for diagnostic counts only, never for lifecycle cancellation.Methods in com.ultikits.ultitools.manager that return TaskHandleModifier and TypeMethodDescriptionprivate TaskHandleTaskManager.arm(TaskManager.BoundTask handle, long firstDelay) Scheduleshandle's method with its current timing, first running afterfirstDelayticks.Methods in com.ultikits.ultitools.manager with parameters of type TaskHandleModifier and TypeMethodDescriptionprivate voidTaskManager.record(Scheduler scheduler, TaskHandle task) Method parameters in com.ultikits.ultitools.manager with type arguments of type TaskHandleModifier and TypeMethodDescriptionprivate voidTaskManager.scanAndSchedule(UltiToolsPlugin module, Object bean, Scheduler scheduler, Consumer<TaskHandle> recorder) Scan one bean forScheduledmethods and schedule each valid one, recording each task in its owning bucket as soon as it is created rather than batching them into a list returned at the end. -
Uses of TaskHandle in com.ultikits.ultitools.scheduling
Methods in com.ultikits.ultitools.scheduling that return TaskHandleModifier and TypeMethodDescriptionRuns once, never inline, even on the context's own thread; on tick contexts, on the next tick.Runs once after a delay.TaskContext.runRepeating(Duration initialDelay, Duration period, Consumer<? super TaskHandle> task) Runs after the initial delay and then at the given period until cancelled, retired or unloaded.Method parameters in com.ultikits.ultitools.scheduling with type arguments of type TaskHandleModifier and TypeMethodDescriptionTaskContext.runRepeating(Duration initialDelay, Duration period, Consumer<? super TaskHandle> task) Runs after the initial delay and then at the given period until cancelled, retired or unloaded. -
Uses of TaskHandle in com.ultikits.ultitools.scheduling.internal
Classes in com.ultikits.ultitools.scheduling.internal that implement TaskHandleModifier and TypeClassDescription(package private) final classThe task lifecycle; Paper's task state is deliberately not the API's state.Fields in com.ultikits.ultitools.scheduling.internal with type parameters of type TaskHandleMethods in com.ultikits.ultitools.scheduling.internal that return TaskHandleModifier and TypeMethodDescriptionContext.runRepeating(Duration initialDelay, Duration period, Consumer<? super TaskHandle> task) (package private) TaskHandleOwnedScheduler.submit(TaskRecord record, long delay) Method parameters in com.ultikits.ultitools.scheduling.internal with type arguments of type TaskHandleModifier and TypeMethodDescriptionContext.runRepeating(Duration initialDelay, Duration period, Consumer<? super TaskHandle> task) Constructor parameters in com.ultikits.ultitools.scheduling.internal with type arguments of type TaskHandleModifierConstructorDescription(package private)TaskRecord(Context context, Consumer<? super TaskHandle> body, long period, @Nullable CompletableFuture<?> supplyFuture) -
Uses of TaskHandle in com.ultikits.ultitools.services.impl
Fields in com.ultikits.ultitools.services.impl declared as TaskHandleModifier and TypeFieldDescriptionprivate final TaskHandleInMemoryNotificationService.ActiveBar.countdownThe field for thecountdownrecord component.Methods in com.ultikits.ultitools.services.impl that return TaskHandleModifier and TypeMethodDescriptionInMemoryNotificationService.ActiveBar.countdown()Returns the value of thecountdownrecord component.Methods in com.ultikits.ultitools.services.impl with parameters of type TaskHandleModifier and TypeMethodDescriptionprivate voidInMemoryNotificationService.tick(org.bukkit.entity.Player player, net.kyori.adventure.bossbar.BossBar bar, TaskHandle handle, float decrement) Constructors in com.ultikits.ultitools.services.impl with parameters of type TaskHandleModifierConstructorDescriptionprivateActiveBar(net.kyori.adventure.bossbar.BossBar bar, TaskHandle countdown) Creates an instance of aActiveBarrecord class. -
Uses of TaskHandle in com.ultikits.ultitools.ui.chest
Fields in com.ultikits.ultitools.ui.chest declared as TaskHandleModifier and TypeFieldDescriptionprivate TaskHandleChestScreen.reopenTaskprivate TaskHandleChestScreen.syncTaskFields in com.ultikits.ultitools.ui.chest with type parameters of type TaskHandle -
Uses of TaskHandle in com.ultikits.ultitools.ui.container
Fields in com.ultikits.ultitools.ui.container declared as TaskHandleModifier and TypeFieldDescription(package private) @Nullable TaskHandleFrameworkSlotContainer.PendingCommit.timeout -
Uses of TaskHandle in com.ultikits.ultitools.ui.runtime
Fields in com.ultikits.ultitools.ui.runtime declared as TaskHandleModifier and TypeFieldDescriptionprivate final TaskHandleGlobalPump.handleprivate @Nullable TaskHandleRuntimeSession.timeoutMethods in com.ultikits.ultitools.ui.runtime with parameters of type TaskHandle -
Uses of TaskHandle in com.ultikits.ultitools.utils
Methods in com.ultikits.ultitools.utils that return TaskHandleModifier and TypeMethodDescriptionstatic TaskHandlePluginInitiationUtils.scheduleUnlessDisabling(String what, Supplier<TaskHandle> scheduling) The one check every scheduler hand-off reachable from the WebSocket thread goes through (UltiTools-Reborn#621, swept by class: the inbound event publish, the queued config callbacks, the remote command dispatch, and the monitoring tasks a completing handshake starts).Method parameters in com.ultikits.ultitools.utils with type arguments of type TaskHandleModifier and TypeMethodDescriptionstatic TaskHandlePluginInitiationUtils.scheduleUnlessDisabling(String what, Supplier<TaskHandle> scheduling) The one check every scheduler hand-off reachable from the WebSocket thread goes through (UltiTools-Reborn#621, swept by class: the inbound event publish, the queued config callbacks, the remote command dispatch, and the monitoring tasks a completing handshake starts).