public class LogSystemAdmin extends AbstractManagedObject implements LogServiceMXBean
Constructor and Description |
---|
LogSystemAdmin(LogSystem logSystem) |
Modifier and Type | Method and Description |
---|---|
LogMessage[] |
findMessages(java.lang.String level,
long minTime,
long maxTime) |
LogMessage[] |
findMessagesByName(java.lang.String name,
java.lang.String level,
long minTime,
long maxTime) |
LogMessage[] |
findMessagesByType(java.lang.String type,
java.lang.String level,
long minTime,
long maxTime) |
long[] |
findMessageTimesByType(java.lang.String type,
java.lang.String level,
long minTime,
long maxTime) |
long |
getExpireTimeout() |
java.lang.String |
getName()
The JMX name property of the mbean.
|
void |
setExpireTimeout(long timeout) |
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectName, getType
public LogSystemAdmin(LogSystem logSystem)
public java.lang.String getName()
AbstractManagedObject
getName
in interface ManagedObjectMXBean
getName
in class AbstractManagedObject
public long getExpireTimeout()
getExpireTimeout
in interface LogServiceMXBean
public void setExpireTimeout(long timeout)
setExpireTimeout
in interface LogServiceMXBean
public LogMessage[] findMessages(java.lang.String level, long minTime, long maxTime)
findMessages
in interface LogServiceMXBean
public LogMessage[] findMessagesByName(java.lang.String name, java.lang.String level, long minTime, long maxTime)
findMessagesByName
in interface LogServiceMXBean
public long[] findMessageTimesByType(java.lang.String type, java.lang.String level, long minTime, long maxTime)
findMessageTimesByType
in interface LogServiceMXBean
public LogMessage[] findMessagesByType(java.lang.String type, java.lang.String level, long minTime, long maxTime)
findMessagesByType
in interface LogServiceMXBean