public class StandardMessageErrorDigesterJmx extends ChildRuntimeInfoComponentImpl implements StandardMessageErrorDigesterJmxMBean
StandardMessageErrorDigester
and exposes them via JMX.log
Modifier and Type | Method and Description |
---|---|
MessageErrorDigest |
getDigest() |
MessageErrorDigest |
getDigestSubset(int fromIndex) |
MessageErrorDigest |
getDigestSubset(int fromIndex,
int toIndex) |
RuntimeInfoComponent |
getParentRuntimeInfoComponent() |
int |
getTotalErrorCount() |
protected java.lang.String |
getType() |
boolean |
remove(MessageDigestErrorEntry entry)
Remove an entry from this digester.
|
boolean |
remove(MessageDigestErrorEntry entry,
boolean attemptFileDelete)
Remove an entry from this digester.
|
boolean |
remove(java.lang.String uniqueId)
Remove an entry from this digester.
|
boolean |
remove(java.lang.String uniqueId,
boolean attemptFileDelete)
Remove an entry from this digester.
|
protected java.lang.String |
uniqueId() |
createObjectName, getParentId, getParentObjectName, registerMBean, unregisterMBean
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentId, getParentObjectName
createObjectName, registerMBean, unregisterMBean
protected java.lang.String getType()
getType
in class ChildRuntimeInfoComponentImpl
protected java.lang.String uniqueId()
uniqueId
in class ChildRuntimeInfoComponentImpl
public MessageErrorDigest getDigest()
getDigest
in interface StandardMessageErrorDigesterJmxMBean
public MessageErrorDigest getDigestSubset(int fromIndex)
getDigestSubset
in interface StandardMessageErrorDigesterJmxMBean
public MessageErrorDigest getDigestSubset(int fromIndex, int toIndex)
getDigestSubset
in interface StandardMessageErrorDigesterJmxMBean
public int getTotalErrorCount()
getTotalErrorCount
in interface StandardMessageErrorDigesterJmxMBean
public RuntimeInfoComponent getParentRuntimeInfoComponent()
getParentRuntimeInfoComponent
in interface ChildRuntimeInfoComponent
public boolean remove(MessageDigestErrorEntry entry)
StandardMessageErrorDigesterJmxMBean
remove
in interface StandardMessageErrorDigesterJmxMBean
entry
- the entrypublic boolean remove(java.lang.String uniqueId)
StandardMessageErrorDigesterJmxMBean
remove
in interface StandardMessageErrorDigesterJmxMBean
uniqueId
- the messageID of the entrypublic boolean remove(MessageDigestErrorEntry entry, boolean attemptFileDelete)
StandardMessageErrorDigesterJmxMBean
remove
in interface StandardMessageErrorDigesterJmxMBean
entry
- the entryattemptFileDelete
- whether or not to attempt to delete the underlying file (if possible).public boolean remove(java.lang.String uniqueId, boolean attemptFileDelete)
StandardMessageErrorDigesterJmxMBean
remove
in interface StandardMessageErrorDigesterJmxMBean
uniqueId
- the messageID of the entryattemptFileDelete
- whether or not to attempt to delete the underlying file (if possible).