public class DefaultBatchRecordDispatcher extends Object implements BatchRecordDispatcher
BatchRecordDispatcher which does the monitoring
in a single thread and processes using a BatchWorkManager| Modifier and Type | Field and Description |
|---|---|
static String |
BATCH_DISPATCHER_THREAD_NAME |
| Constructor and Description |
|---|
DefaultBatchRecordDispatcher(BatchEngine batchEngine,
BatchWorkManager workManager,
org.mule.runtime.api.scheduler.SchedulerService schedulerService,
org.mule.runtime.api.scheduler.SchedulerConfig schedulerBaseConfig,
org.mule.runtime.api.notification.NotificationListenerRegistry notificationListenerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
BatchProcessingListener |
getListener()
A
BatchProcessingListener that you can use to notify this component on a
processing event |
void |
start()
Starts the queue monitoring.
|
void |
stop()
Stops monitoring.
|
public static final String BATCH_DISPATCHER_THREAD_NAME
public DefaultBatchRecordDispatcher(BatchEngine batchEngine, BatchWorkManager workManager, org.mule.runtime.api.scheduler.SchedulerService schedulerService, org.mule.runtime.api.scheduler.SchedulerConfig schedulerBaseConfig, org.mule.runtime.api.notification.NotificationListenerRegistry notificationListenerRegistry)
public void start()
BatchRecordDispatcherstart in interface BatchRecordDispatcherpublic void stop()
BatchRecordDispatcherstop in interface BatchRecordDispatcherpublic BatchProcessingListener getListener()
BatchRecordDispatcherBatchProcessingListener that you can use to notify this component on a
processing eventgetListener in interface BatchRecordDispatcherBatchProcessingListenerCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.