@Service @ManagedResource(objectName="org.openhubframework.openhub.core.monitoring:name=MessagesStatus", description="Message State Information") public class MessagesStatus extends Object
Constructor and Description |
---|
MessagesStatus() |
Modifier and Type | Method and Description |
---|---|
int |
getCountOfCancel() |
int |
getCountOfCancelAfterInterval(int intervalSec) |
int |
getCountOfCanceled() |
int |
getCountOfFailed() |
int |
getCountOfFailedAfterInterval(int intervalSec) |
int |
getCountOfNew() |
int |
getCountOfNewAfterInterval(int intervalSec) |
int |
getCountOfOk() |
int |
getCountOfOkAfterInterval(int intervalSec) |
int |
getCountOfPartlyFailed() |
int |
getCountOfPartlyFailedAfterInterval(int intervalSec) |
int |
getCountOfPostponed() |
int |
getCountOfPostponedAfterInterval(int intervalSec) |
int |
getCountOfProcessing() |
int |
getCountOfProcessingAfterInterval(int intervalSec) |
int |
getCountOfWaiting() |
int |
getCountOfWaitingAfterInterval(int intervalSec) |
int |
getCountOfWaitingForResponse() |
int |
getCountOfWaitingForResponseAfterInterval(int intervalSec) |
void |
setMessageService(MessageService messageService) |
@ManagedAttribute(description="Count of messages in state FAILED") public int getCountOfFailed()
@ManagedAttribute(description="Count of messages in state PROCESSING") public int getCountOfProcessing()
@ManagedAttribute(description="Count of messages in state CANCEL") public int getCountOfCanceled()
@ManagedAttribute(description="Count of messages in state NEW") public int getCountOfNew()
@ManagedAttribute(description="Count of messages in state OK") public int getCountOfOk()
@ManagedAttribute(description="Count of messages in state PARTLY_FAILED") public int getCountOfPartlyFailed()
@ManagedAttribute(description="Count of messages in state WAITING") public int getCountOfWaiting()
@ManagedAttribute(description="Count of messages in state WAITING_FOR_RES") public int getCountOfWaitingForResponse()
@ManagedAttribute(description="Count of messages in state POSTPONED") public int getCountOfPostponed()
@ManagedAttribute(description="Count of messages in state CANCEL") public int getCountOfCancel()
@ManagedOperation(description="Count of messages in state FAILED and after interval") public int getCountOfFailedAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state PROCESSING and after interval") public int getCountOfProcessingAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state WAITING and after interval") public int getCountOfWaitingAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state OK and after interval") public int getCountOfOkAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state NEW and after interval") public int getCountOfNewAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state PARTLY_FAILED and after interval") public int getCountOfPartlyFailedAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state CANCEL and after interval") public int getCountOfCancelAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state WAITING_FOR_RES and after interval") public int getCountOfWaitingForResponseAfterInterval(int intervalSec)
@ManagedOperation(description="Count of messages in state POSTPONED and after interval") public int getCountOfPostponedAfterInterval(int intervalSec)
public void setMessageService(MessageService messageService)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.