public class MessagesHandlingService extends java.lang.Object implements TenantLifecycleService, ObservableExecutor
| Constructor and Description |
|---|
MessagesHandlingService(EventInstanceService eventInstanceService,
WorkService workService,
TechnicalLoggerService loggerService,
LockService lockService,
java.lang.Long tenantId,
UserTransactionService userTransactionService,
SessionAccessor sessionAccessor,
BPMWorkFactory workFactory) |
| Modifier and Type | Method and Description |
|---|---|
long |
getExecuted() |
long |
getPendings() |
long |
getRunnings() |
void |
pause()
Temporary halt the execution of this service.
|
void |
resetMessageCouple(long messageInstanceId,
long waitingMessageId) |
void |
resume()
resume the execution the service
|
void |
start()
Start the service
|
void |
stop() |
void |
triggerMatchingOfMessages() |
public MessagesHandlingService(EventInstanceService eventInstanceService, WorkService workService, TechnicalLoggerService loggerService, LockService lockService, java.lang.Long tenantId, UserTransactionService userTransactionService, SessionAccessor sessionAccessor, BPMWorkFactory workFactory)
public void start()
LifecycleServicestart in interface LifecycleServicepublic void stop()
stop in interface LifecycleServicepublic void pause()
LifecycleServicepause in interface LifecycleServicepublic void resume()
LifecycleServiceresume in interface LifecycleServicepublic void triggerMatchingOfMessages()
throws STransactionNotFoundException
STransactionNotFoundExceptionpublic void resetMessageCouple(long messageInstanceId,
long waitingMessageId)
throws SWaitingEventReadException,
SWaitingEventModificationException,
SMessageModificationException,
SMessageInstanceReadException
public long getPendings()
getPendings in interface ObservableExecutorpublic long getRunnings()
getRunnings in interface ObservableExecutorpublic long getExecuted()
getExecuted in interface ObservableExecutor