public class SchedulerCoordinatorFactory extends Object implements CoordinatorFactory
| Constructor and Description |
|---|
SchedulerCoordinatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
createExecutorService()
Creates the executor service to be used by the Scheduler.
|
ShardRecordProcessorCheckpointer |
createRecordProcessorCheckpointer(ShardInfo shardInfo,
Checkpointer checkpoint)
Creates a RecordProcessorChedckpointer to be used by the Scheduler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateGracefulShutdownCoordinator, createWorkerStateChangeListenerpublic ExecutorService createExecutorService()
createExecutorService in interface CoordinatorFactorypublic ShardRecordProcessorCheckpointer createRecordProcessorCheckpointer(@NonNull ShardInfo shardInfo, @NonNull Checkpointer checkpoint)
createRecordProcessorCheckpointer in interface CoordinatorFactoryshardInfo - ShardInfo to be used in order to create the ShardRecordProcessorCheckpointercheckpoint - Checkpointer to be used in order to create Shardthe RecordProcessorCheckpointerCopyright © 2019. All rights reserved.