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 newResourceusing 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 TypeMethodDescriptionbooleanSimpleTaskContext.finishWithError(TaskId taskId, Throwable error) booleanSimpleTaskService.finishWithError(TaskId taskId, Throwable error) booleanTaskContext.finishWithError(TaskId taskId, Throwable error) booleanTaskService.finishWithError(TaskId taskId, Throwable error) Fails a task with the suppliedThrowable, indicating an error.booleanSimpleTaskContext.finishWithResult(TaskId taskId, Object result) booleanSimpleTaskService.finishWithResult(TaskId taskId, Object result) booleanTaskContext.finishWithResult(TaskId taskId, Object result) Finishes the task with associatedTaskIdwith the provided result.booleanTaskService.finishWithResult(TaskId taskId, Object result) Finishes a task with the supplied result.voidSimpleTaskContext.register(TaskId taskId, Consumer<Object> consumer, Consumer<Throwable> throwableTConsumer) voidSimpleTaskService.register(TaskId taskId, Consumer<Object> consumer, Consumer<Throwable> throwableTConsumer) voidTaskContext.register(TaskId taskId, Consumer<Object> tConsumer, Consumer<Throwable> throwableTConsumer) voidTaskService.register(TaskId taskId, Consumer<Object> consumer, Consumer<Throwable> throwableTConsumer) Registers a newTaskIdand set of consumers to handle the results.voidResumes the supplied task with theTaskIdand the list of results.voidResumes the supplied task with theTaskIdsupplying multiple results to the destination.voiddefault voidResource.resumeFromNetwork(TaskId taskId, Object result) Resumes a suspended task, accepting the task id.voidSchedulerContext.resumeFromNetwork(TaskId taskId, Object result) Resumes a task that was waiting on a network call.voidSimpleSchedulerContext.resumeFromNetwork(TaskId taskId, Object result) default voidResource.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.voidSchedulerContext.resumeTaskAfterDelay(TaskId taskId, long time, TimeUnit timeUnit) Resumes the task associated with the suppliedTaskId.voidSimpleSchedulerContext.resumeTaskAfterDelay(long time, TimeUnit timeUnit, TaskId taskId, Runnable resumed) voidSimpleSchedulerContext.resumeTaskAfterDelay(TaskId taskId, long time, TimeUnit timeUnit) default voidResource.resumeWithError(TaskId taskId, Throwable throwable) Resumes a suspended task, accepting the task id.voidSchedulerContext.resumeWithError(TaskId taskId, Throwable throwable) Resumes a task that was waiting for any reason.voidSimpleSchedulerContext.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 theTransactionalTasks 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 TypeMethodDescriptionbooleanbooleanvoidReadWriteTransaction.createTask(TaskId taskId, long timestamp) Schedules the suppliedTaskIdto the supplied timestamp.booleanAbstractTaskEntry.deleteTask(TaskId taskId) voidReadWriteTransaction.deleteTask(TaskId taskId) Deletes theTaskIdfrom the datastore.booleanTaskEntry.deleteTask(TaskId taskId) default booleanImplements the add task operation.default booleanTaskEntry.OperationalStrategy.doDeleteTask(TaskEntry<ScopeT> taskEntry, TaskId taskId) Deletes the task with the suppliedTaskId.voidvoidvoidTransactionalResource.resumeFromNetwork(TaskId taskId, Object result) voidTransactionalSchedulerContext.resumeFromNetwork(TaskId taskId, Object result) voidTransactionalResource.resumeFromScheduler(TaskId taskId, double elapsedTime) voidTransactionalSchedulerContext.resumeTaskAfterDelay(TaskId taskId, long time, TimeUnit timeUnit) voidTransactionalResource.resumeWithError(TaskId taskId, Throwable throwable) voidTransactionalSchedulerContext.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 TaskIdTaskId.taskIdFromByteBuffer(ByteBuffer byteBufferRepresentation, int byteBufferPosition) Reads aTaskIdfrom the suppliedByteBufferand position, ensuring that the buffer's mark, limit, and position are unaffected.