public class ChunkStepController extends SingleThreadedStepController
Modifier and Type | Field and Description |
---|---|
protected Integer |
checkpointAtThisItemCount |
protected org.apache.batchee.container.impl.controller.chunk.ChunkStepController.ChunkStatus |
currentChunkStatus |
protected org.apache.batchee.container.impl.controller.chunk.ChunkStepController.SingleItemStatus |
currentItemStatus |
protected boolean |
customCheckpointPolicy |
protected static int |
DEFAULT_TRAN_TIMEOUT_SECONDS |
protected int |
stepPropertyTranTimeoutSeconds |
collectorProxy
analyzerStatusQueue, jobExecutionImpl, jobInstance, kernelService, restartAfterCompletion, rootJobExecutionId, step, stepContext, stepName, stepStatus, transactionManager
Constructor and Description |
---|
ChunkStepController(RuntimeJobExecution jobExecutionImpl,
Step step,
StepContextImpl stepContext,
long rootJobExecutionId,
BlockingQueue<PartitionDataWrapper> analyzerStatusQueue,
ServicesManager servicesManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
invokeCoreStep() |
void |
stop() |
invokeCollectorIfPresent, invokePostStepArtifacts, invokePreStepArtifacts, sendCollectorDataToAnalyzerIfPresent, sendStatusFromPartitionToAnalyzerIfPresent, setupStepArtifacts
execute, getLastRunStepExecutions, isRestartExecution, markJobAndStepFailed, persistExitStatusAndEndTimestamp, persistUserData, resolveUserData, setParentStepContext, setStepContext, shouldStepBeExecuted, statusStarting, storeUserData, toString, updateBatchStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLastRunStepExecutions
protected static final int DEFAULT_TRAN_TIMEOUT_SECONDS
protected org.apache.batchee.container.impl.controller.chunk.ChunkStepController.ChunkStatus currentChunkStatus
protected org.apache.batchee.container.impl.controller.chunk.ChunkStepController.SingleItemStatus currentItemStatus
protected boolean customCheckpointPolicy
protected Integer checkpointAtThisItemCount
protected int stepPropertyTranTimeoutSeconds
public ChunkStepController(RuntimeJobExecution jobExecutionImpl, Step step, StepContextImpl stepContext, long rootJobExecutionId, BlockingQueue<PartitionDataWrapper> analyzerStatusQueue, ServicesManager servicesManager)
protected void invokeCoreStep() throws BatchContainerServiceException
invokeCoreStep
in class BaseStepController
BatchContainerServiceException
public void stop()
Copyright © 2017 The Apache Software Foundation. All rights reserved.