public class MessagesHandlingService extends Object implements org.bonitasoft.engine.commons.TenantLifecycleService, org.bonitasoft.engine.monitoring.ObservableExecutor
| Constructor and Description |
|---|
MessagesHandlingService(EventInstanceService eventInstanceService,
WorkService workService,
TechnicalLoggerService loggerService,
LockService lockService,
Long tenantId,
UserTransactionService userTransactionService,
SessionAccessor sessionAccessor,
BPMWorkFactory workFactory) |
| Modifier and Type | Method and Description |
|---|---|
long |
getExecuted() |
long |
getPendings() |
long |
getRunnings() |
void |
pause() |
void |
resetMessageCouple(long messageInstanceId,
long waitingMessageId) |
void |
resume() |
void |
start() |
void |
stop() |
void |
triggerMatchingOfMessages() |
public MessagesHandlingService(EventInstanceService eventInstanceService, WorkService workService, TechnicalLoggerService loggerService, LockService lockService, Long tenantId, UserTransactionService userTransactionService, SessionAccessor sessionAccessor, BPMWorkFactory workFactory)
public void start()
start in interface org.bonitasoft.engine.commons.LifecycleServicepublic void stop()
stop in interface org.bonitasoft.engine.commons.LifecycleServicepublic void pause()
pause in interface org.bonitasoft.engine.commons.LifecycleServicepublic void resume()
resume in interface org.bonitasoft.engine.commons.LifecycleServicepublic void triggerMatchingOfMessages()
throws STransactionNotFoundException
STransactionNotFoundExceptionpublic void resetMessageCouple(long messageInstanceId,
long waitingMessageId)
throws SWaitingEventReadException,
SWaitingEventModificationException,
SMessageModificationException,
SMessageInstanceReadException
public long getPendings()
getPendings in interface org.bonitasoft.engine.monitoring.ObservableExecutorpublic long getRunnings()
getRunnings in interface org.bonitasoft.engine.monitoring.ObservableExecutorpublic long getExecuted()
getExecuted in interface org.bonitasoft.engine.monitoring.ObservableExecutorCopyright © 2018 Bonitasoft S.A.. All rights reserved.