Constructor and Description |
---|
JobGenerator(JobScheduler jobScheduler) |
Modifier and Type | Method and Description |
---|---|
Clock |
clock() |
void |
onBatchCompletion(Time time)
Callback called when a batch has been completely processed.
|
void |
onCheckpointCompletion(Time time)
Callback called when the checkpoint of a batch has been written.
|
void |
start()
Start generation of jobs
|
void |
stop(boolean processReceivedData)
Stop generation of jobs.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public JobGenerator(JobScheduler jobScheduler)
public Clock clock()
public void start()
public void stop(boolean processReceivedData)
public void onBatchCompletion(Time time)
public void onCheckpointCompletion(Time time)