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(@NonNull ShardInfo shardInfo,
@NonNull Checkpointer checkpoint)
Creates a RecordProcessorChedckpointer to be used by the Scheduler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createGracefulShutdownCoordinator, createWorkerStateChangeListener
public ExecutorService createExecutorService()
createExecutorService
in interface CoordinatorFactory
public ShardRecordProcessorCheckpointer createRecordProcessorCheckpointer(@NonNull @NonNull ShardInfo shardInfo, @NonNull @NonNull Checkpointer checkpoint)
createRecordProcessorCheckpointer
in interface CoordinatorFactory
shardInfo
- ShardInfo to be used in order to create the ShardRecordProcessorCheckpointercheckpoint
- Checkpointer to be used in order to create Shardthe RecordProcessorCheckpointerCopyright © 2022. All rights reserved.