public class StreamingAggregatorInputQueueBuffer extends AbstractStreamingAggregatorQueueBuffer
AbstractStreamingAggregatorQueueBuffer which flushes data using the BatchQueueDelegate
returned by
BatchQueueManager.streamingAggregatorInputQueue(com.mulesoft.mule.runtime.module.batch.engine.BatchJobInstanceAdapter, com.mulesoft.mule.runtime.module.batch.engine.BatchStepAdapter)stepbatchQueueManager| Constructor and Description |
|---|
StreamingAggregatorInputQueueBuffer(BatchEngine batchEngine,
BatchStepAdapter step) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFlush(BatchJobInstanceAdapter jobInstance,
BatchTransactionContext ctx,
List<Record> records) |
protected void |
doForget(BatchJobInstanceAdapter jobInstance) |
protected BatchQueueDelegate |
getDelegate(BatchJobInstanceAdapter jobInstance)
Returns a
BatchQueueDelegate for streaming aggregator queues |
long |
getFlushedRecordCount(com.mulesoft.mule.runtime.module.batch.api.BatchJobInstance jobInstance) |
add, commit, flush, flushAndForget, forget, rollback, sizeadd, getNamepublic StreamingAggregatorInputQueueBuffer(BatchEngine batchEngine, BatchStepAdapter step)
protected BatchQueueDelegate getDelegate(BatchJobInstanceAdapter jobInstance)
BatchQueueDelegate for streaming aggregator queuesgetDelegate in class TransactionalQueueBufferBatchQueueDelegatepublic long getFlushedRecordCount(com.mulesoft.mule.runtime.module.batch.api.BatchJobInstance jobInstance)
protected void doFlush(BatchJobInstanceAdapter jobInstance, BatchTransactionContext ctx, List<Record> records)
doFlush in class TransactionalQueueBufferprotected void doForget(BatchJobInstanceAdapter jobInstance)
doForget in class TransactionalQueueBufferCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.