com.caucho.env.log
Class LogSystemAdmin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.env.log.LogSystemAdmin
All Implemented Interfaces:
LogServiceMXBean, ManagedObjectMXBean

public class LogSystemAdmin
extends AbstractManagedObject
implements LogServiceMXBean

Persistent logging.


Constructor Summary
LogSystemAdmin(LogSystem logSystem)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getObjectName, getType
 

Constructor Detail

LogSystemAdmin

public LogSystemAdmin(LogSystem logSystem)
Method Detail

getName

public java.lang.String getName()
Description copied from class: AbstractManagedObject
The JMX name property of the mbean.

Specified by:
getName in interface ManagedObjectMXBean
Specified by:
getName in class AbstractManagedObject

getExpireTimeout

public long getExpireTimeout()
Specified by:
getExpireTimeout in interface LogServiceMXBean

setExpireTimeout

public void setExpireTimeout(long timeout)
Specified by:
setExpireTimeout in interface LogServiceMXBean

findMessages

public LogMessage[] findMessages(java.lang.String level,
                                 long minTime,
                                 long maxTime)
Specified by:
findMessages in interface LogServiceMXBean

findMessagesByName

public LogMessage[] findMessagesByName(java.lang.String name,
                                       java.lang.String level,
                                       long minTime,
                                       long maxTime)
Specified by:
findMessagesByName in interface LogServiceMXBean

findMessageTimesByType

public long[] findMessageTimesByType(java.lang.String type,
                                     java.lang.String level,
                                     long minTime,
                                     long maxTime)
Specified by:
findMessageTimesByType in interface LogServiceMXBean

findMessagesByType

public LogMessage[] findMessagesByType(java.lang.String type,
                                       java.lang.String level,
                                       long minTime,
                                       long maxTime)
Specified by:
findMessagesByType in interface LogServiceMXBean