Package com.hazelcast.scheduledexecutor
package com.hazelcast.scheduledexecutor
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()
- Since:
- 3.8
-
ClassDescriptionThe
AutoDisposableTaskinterface should be implemented by any single run task which is to be destroyed automatically after executionAn exception thrown when a task's name is already used before for another (or the same, if re-attempted) schedule.Distributed & durable implementation similar to, but not directly inheritedScheduledExecutorService.A delayed result-bearing action that can be cancelled.TheNamedTaskinterface should be implemented by any task that needs to have an identification and enhanced atomicity upon scheduling the task.Resource handler pointing to aIScheduledFuture.Statistics and timing info for aIScheduledFutureaccessible throughIScheduledFuture.getStats()Exception thrown by theIScheduledFutureduring any operation on a stale (=previously destroyed) task.StatefulTask<K,V> An interface to provide means for saving & loading state forRunnableandCallabletasks scheduled with anIScheduledExecutorService.