Uses of Class
dev.getelements.elements.sdk.cluster.id.TaskId
Packages that use TaskId
Package
Description
-
Uses of TaskId in dev.getelements.elements.rt
Methods in dev.getelements.elements.rt that return TaskIdModifier and TypeMethodDescriptionRetainedHandlerService.perform
(Consumer<Object> success, Consumer<Throwable> failure, long timeoutDelay, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) Creates a newResource
using the attributes and the module.SimpleRetainedHandlerService.perform
(Consumer<Object> success, Consumer<Throwable> failure, long timeout, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) SimpleSingleUseHandlerService.perform
(Consumer<Object> success, Consumer<Throwable> failure, long timeoutDelay, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) SingleUseHandlerService.perform
(Consumer<Object> success, Consumer<Throwable> failure, long timeoutDelay, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) Performs an operation against thisSingleUseHandlerService
, reporting either success or failure to the code.Methods in dev.getelements.elements.rt that return types with arguments of type TaskIdMethods in dev.getelements.elements.rt with parameters of type TaskIdModifier and TypeMethodDescriptionboolean
SimpleTaskContext.finishWithError
(TaskId taskId, Throwable error) boolean
SimpleTaskService.finishWithError
(TaskId taskId, Throwable error) boolean
TaskContext.finishWithError
(TaskId taskId, Throwable error) boolean
TaskService.finishWithError
(TaskId taskId, Throwable error) Fails a task with the suppliedThrowable
, indicating an error.boolean
SimpleTaskContext.finishWithResult
(TaskId taskId, Object result) boolean
SimpleTaskService.finishWithResult
(TaskId taskId, Object result) boolean
TaskContext.finishWithResult
(TaskId taskId, Object result) Finishes the task with associatedTaskId
with the provided result.boolean
TaskService.finishWithResult
(TaskId taskId, Object result) Finishes a task with the supplied result.void
SimpleTaskContext.register
(TaskId taskId, Consumer<Object> consumer, Consumer<Throwable> throwableTConsumer) void
SimpleTaskService.register
(TaskId taskId, Consumer<Object> consumer, Consumer<Throwable> throwableTConsumer) void
TaskContext.register
(TaskId taskId, Consumer<Object> tConsumer, Consumer<Throwable> throwableTConsumer) void
TaskService.register
(TaskId taskId, Consumer<Object> consumer, Consumer<Throwable> throwableTConsumer) Registers a newTaskId
and set of consumers to handle the results.void
Resumes the supplied task with theTaskId
and the list of results.void
Resumes the supplied task with theTaskId
supplying multiple results to the destination.void
default void
Resource.resumeFromNetwork
(TaskId taskId, Object result) Resumes a suspended task, accepting the task id.void
SchedulerContext.resumeFromNetwork
(TaskId taskId, Object result) Resumes a task that was waiting on a network call.void
SimpleSchedulerContext.resumeFromNetwork
(TaskId taskId, Object result) default void
Resource.resumeFromScheduler
(TaskId taskId, double elapsedTime) Resumes a suspended task, accepting the task id.Scheduler.resumeTask
(TaskId taskId, Consumer<Throwable> failure) Resumes the task associated with the suppliedTaskId
.Scheduler.resumeTaskAfterDelay
(TaskId taskId, long time, TimeUnit timeUnit, Runnable resumed, Consumer<Throwable> failure) Resumes the task associated with the suppliedTaskId
.void
SchedulerContext.resumeTaskAfterDelay
(TaskId taskId, long time, TimeUnit timeUnit) Resumes the task associated with the suppliedTaskId
.void
SimpleSchedulerContext.resumeTaskAfterDelay
(long time, TimeUnit timeUnit, TaskId taskId, Runnable resumed) void
SimpleSchedulerContext.resumeTaskAfterDelay
(TaskId taskId, long time, TimeUnit timeUnit) default void
Resource.resumeWithError
(TaskId taskId, Throwable throwable) Resumes a suspended task, accepting the task id.void
SchedulerContext.resumeWithError
(TaskId taskId, Throwable throwable) Resumes a task that was waiting for any reason.void
SimpleSchedulerContext.resumeWithError
(TaskId taskId, Throwable throwable) -
Uses of TaskId in dev.getelements.elements.rt.exception
Methods in dev.getelements.elements.rt.exception that return TaskIdModifier and TypeMethodDescriptionDuplicateTaskException.getTaskId()
NoSuchTaskException.getTaskId()
TaskKilledException.getTaskId()
Constructors in dev.getelements.elements.rt.exception with parameters of type TaskIdModifierConstructorDescriptionDuplicateTaskException
(TaskId taskId) NoSuchTaskException
(TaskId taskId) TaskKilledException
(TaskId taskId) -
Uses of TaskId in dev.getelements.elements.rt.transact
Methods in dev.getelements.elements.rt.transact that return TaskIdMethods in dev.getelements.elements.rt.transact that return types with arguments of type TaskIdModifier and TypeMethodDescriptiondefault Map
<TaskId, TransactionalTask> TaskEntry.OperationalStrategy.doGetTasksImmutable
(TaskEntry<ScopeT> taskEntry) Gets theTransactionalTask
s associated with this entry.NullTaskEntry.getOriginalTasksImmutable()
TaskEntry.getOriginalTasksImmutable()
Gets all of hte original tasks in thisTaskEntry
.TransactionalResource.getTasks()
AbstractTaskEntry.getTasksImmutable()
TaskEntry.getTasksImmutable()
Gets the tasks associated with thisTaskEntry
.Methods in dev.getelements.elements.rt.transact with parameters of type TaskIdModifier and TypeMethodDescriptionboolean
boolean
void
ReadWriteTransaction.createTask
(TaskId taskId, long timestamp) Schedules the suppliedTaskId
to the supplied timestamp.boolean
AbstractTaskEntry.deleteTask
(TaskId taskId) void
ReadWriteTransaction.deleteTask
(TaskId taskId) Deletes theTaskId
from the datastore.boolean
TaskEntry.deleteTask
(TaskId taskId) default boolean
Implements the add task operation.default boolean
TaskEntry.OperationalStrategy.doDeleteTask
(TaskEntry<ScopeT> taskEntry, TaskId taskId) Deletes the task with the suppliedTaskId
.void
void
void
TransactionalResource.resumeFromNetwork
(TaskId taskId, Object result) void
TransactionalSchedulerContext.resumeFromNetwork
(TaskId taskId, Object result) void
TransactionalResource.resumeFromScheduler
(TaskId taskId, double elapsedTime) void
TransactionalSchedulerContext.resumeTaskAfterDelay
(TaskId taskId, long time, TimeUnit timeUnit) void
TransactionalResource.resumeWithError
(TaskId taskId, Throwable throwable) void
TransactionalSchedulerContext.resumeWithError
(TaskId taskId, Throwable throwable) -
Uses of TaskId in dev.getelements.elements.rt.transact.unix
Methods in dev.getelements.elements.rt.transact.unix that return TaskIdMethods in dev.getelements.elements.rt.transact.unix that return types with arguments of type TaskIdModifier and TypeMethodDescriptionUnixFSTaskEntryExisting.getOriginalTasksImmutable()
UnixFSTaskEntryNew.getOriginalTasksImmutable()
-
Uses of TaskId in dev.getelements.elements.sdk.cluster.id
Methods in dev.getelements.elements.sdk.cluster.id that return TaskIdModifier and TypeMethodDescriptionstatic TaskId
TaskId.taskIdFromByteBuffer
(ByteBuffer byteBufferRepresentation, int byteBufferPosition) Reads aTaskId
from the suppliedByteBuffer
and position, ensuring that the buffer's mark, limit, and position are unaffected.