# Package com.hazelcast.scheduledexecutor

This package contains ScheduledExecutorService functionality for Hazelcast.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  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 Summary
  Class | Description
  --- | ---
  ScheduledTaskHandler | Resource handler pointing to a `IScheduledFuture`.
  TaskUtils | A helper class with utilities to act upon `Runnable` and/or `Callable` tasks.

- Exception Summary
  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.

## Package com.hazelcast.scheduledexecutor Description

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

Copyright © 2019. All rights reserved.