public class DefaultBatchQueueManager extends BaseBatchProcessingListenerOwner implements BatchQueueManager, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.core.api.context.MuleContextAware
BatchQueueManager| Constructor and Description |
|---|
DefaultBatchQueueManager() |
| Modifier and Type | Method and Description |
|---|---|
long |
brokersSize() |
void |
dispose() |
void |
disposeBroker(BatchJobInstanceAdapter jobInstance)
Disposes just the broker for the queues.
|
void |
disposeQueues(BatchTransactionContext ctx)
Disposes all initialized queues associated to the given
BatchJobInstanceAdapter |
void |
initialise() |
org.mule.runtime.core.api.util.queue.QueueSession |
newQueueSession() |
void |
setMuleContext(org.mule.runtime.core.api.MuleContext context) |
void |
setQueueManager(org.mule.runtime.core.api.util.queue.QueueManager queueManager) |
void |
setQueueTimeout(long queueTimeout) |
BatchQueueDelegate |
steppingQueue(BatchJobInstanceAdapter jobInstance)
|
BatchQueueDelegate |
streamingAggregatorInputQueue(BatchJobInstanceAdapter jobInstance,
BatchStepAdapter step)
Returns a
BatchQueueDelegate to access the input queue of a streaming BatchStepAggregator |
BatchQueueDelegate |
streamingAggregatorOutputQueue(BatchJobInstanceAdapter jobInstance,
BatchStepAdapter step)
Returns a
BatchQueueDelegate to access the output queue of a streaming BatchStepAggregator |
addBatchProcessingListener, addBatchProcessingListener, getListeners, removeBatchProcessingListener, removeBatchProcessingListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatchProcessingListener, addBatchProcessingListener, removeBatchProcessingListener, removeBatchProcessingListenerpublic org.mule.runtime.core.api.util.queue.QueueSession newQueueSession()
newQueueSession in interface BatchQueueManagerpublic BatchQueueDelegate steppingQueue(BatchJobInstanceAdapter jobInstance)
steppingQueue in interface BatchQueueManagerjobInstance - the BatchJobInstanceAdapter which records we want to stepBatchQueueDelegatepublic BatchQueueDelegate streamingAggregatorInputQueue(BatchJobInstanceAdapter jobInstance, BatchStepAdapter step)
BatchQueueDelegate to access the input queue of a streaming BatchStepAggregatorstreamingAggregatorInputQueue in interface BatchQueueManagerjobInstance - the BatchJobInstanceAdapter which records we want to streamstep - the BatchStepAdapter owning the aggregator blockBatchQueueDelegatepublic BatchQueueDelegate streamingAggregatorOutputQueue(BatchJobInstanceAdapter jobInstance, BatchStepAdapter step)
BatchQueueDelegate to access the output queue of a streaming BatchStepAggregatorstreamingAggregatorOutputQueue in interface BatchQueueManagerjobInstance - the BatchJobInstanceAdapter which records we want to streamstep - the BatchStepAdapter owning the aggregator blockBatchQueueDelegatepublic void disposeQueues(BatchTransactionContext ctx)
BatchJobInstanceAdapterdisposeQueues in interface BatchQueueManagerctx - a not null BatchTransactionContextpublic void disposeBroker(BatchJobInstanceAdapter jobInstance)
This is just to be used when a dispose is needed before any queues were created.
disposeBroker in interface BatchQueueManagerjobInstance - the instance to dispose the broker for.public long brokersSize()
brokersSize in interface BatchQueueManagerpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void setMuleContext(org.mule.runtime.core.api.MuleContext context)
setMuleContext in interface org.mule.runtime.core.api.context.MuleContextAwarepublic void setQueueTimeout(long queueTimeout)
public void setQueueManager(org.mule.runtime.core.api.util.queue.QueueManager queueManager)
Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.