public class InitializeTask extends Object implements ITask
| Constructor and Description |
|---|
InitializeTask(ShardInfo shardInfo,
IRecordProcessor recordProcessor,
ICheckpoint checkpoint,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
StreamConfig streamConfig,
GetRecordsCache getRecordsCache)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TaskResult |
call()
Perform task logic.
|
TaskType |
getTaskType() |
public InitializeTask(ShardInfo shardInfo, IRecordProcessor recordProcessor, ICheckpoint checkpoint, RecordProcessorCheckpointer recordProcessorCheckpointer, IDataFetcher dataFetcher, long backoffTimeMillis, StreamConfig streamConfig, GetRecordsCache getRecordsCache)
public TaskResult call()
ITaskcall in interface ITaskcall in interface Callable<TaskResult>public TaskType getTaskType()
getTaskType in interface ITaskCopyright © 2023. All rights reserved.