See: Description
Interface | Description |
---|---|
AutoDisposableTask |
The
AutoDisposableTask interface should be implemented by any single run task
which is to be destroyed automatically after execution |
IScheduledExecutorService |
Distributed & durable implementation similar to, but not directly
inherited
ScheduledExecutorService . |
IScheduledFuture<V> |
A delayed result-bearing action that can be cancelled.
|
NamedTask |
The
NamedTask interface should be implemented by any task that needs to have an identification and enhanced
atomicity upon scheduling the task. |
ScheduledTaskStatistics |
Statistics and timing info for a
IScheduledFuture accessible through IScheduledFuture.getStats() |
StatefulTask<K,V> |
An interface to provide means for saving & loading state for
Runnable and Callable
tasks scheduled with an IScheduledExecutorService . |
Class | Description |
---|---|
ScheduledTaskHandler |
Resource handler pointing to a
IScheduledFuture . |
TaskUtils |
Exception | Description |
---|---|
DuplicateTaskException |
An exception thrown when a task's name is already used before for another (or the same, if re-attempted) schedule.
|
StaleTaskException |
Exception thrown by the
IScheduledFuture during any operation on a stale (=previously destroyed) task. |
This package contains ScheduledExecutorService functionality for Hazelcast.
The ScheduledExecutorService provides functionality similar to ExecutorService
and also additional methods like executing tasks on a member who is owner of a specific key.
ScheduledExecutorService also provides a way to find the IScheduledFuture
at any point in time using the ScheduledTaskHandler
accessible through
IScheduledFuture.getHandler()
Copyright © 2023 Hazelcast, Inc.. All rights reserved.