public interface CoordinatorFactory
Scheduler| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
createExecutorService()
Creates the executor service to be used by the Scheduler.
|
default software.amazon.kinesis.coordinator.GracefulShutdownCoordinator |
createGracefulShutdownCoordinator()
Deprecated.
|
ShardRecordProcessorCheckpointer |
createRecordProcessorCheckpointer(ShardInfo shardInfo,
Checkpointer checkpoint)
Creates a RecordProcessorChedckpointer to be used by the Scheduler.
|
default WorkerStateChangeListener |
createWorkerStateChangeListener()
Deprecated.
|
ExecutorService createExecutorService()
@Deprecated default software.amazon.kinesis.coordinator.GracefulShutdownCoordinator createGracefulShutdownCoordinator()
Note: This method has been deprecated, and will be removed in a future release. Use the configuration in
CoordinatorConfig.gracefulShutdownCoordinator. Set the
CoordinatorConfig.gracefulShutdownCoordinator to null in order to use this method.
CoordinatorConfig#gracefulShutdownCoordinator()createGracefulShutdownCoordinator()GracefulShutdownCoordinator that manages the process of shutting down the scheduler.@Deprecated default WorkerStateChangeListener createWorkerStateChangeListener()
Note: This method has been deprecated, and will be removed in a future release. Use the configuration in
CoordinatorConfig.workerStateChangeListener. Set the
CoordinatorConfig.workerStateChangeListener to null in order to use this method.
CoordinatorConfig#workerStateChangeListener()createWorkerStateChangeListener()WorkerStateChangeListener instance that will be notified for specific Scheduler steps.ShardRecordProcessorCheckpointer createRecordProcessorCheckpointer(ShardInfo shardInfo, Checkpointer checkpoint)
shardInfo - ShardInfo to be used in order to create the ShardRecordProcessorCheckpointercheckpoint - Checkpointer to be used in order to create Shardthe RecordProcessorCheckpointerCopyright © 2019. All rights reserved.