com.caucho.management.server
Class HealthEventLog

java.lang.Object
  extended by com.caucho.management.server.HealthEventLog
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HealthEventLog>

public class HealthEventLog
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<HealthEventLog>

Persistent logging.

See Also:
Serialized Form

Nested Class Summary
static class HealthEventLog.HealthEventLogType
           
 
Constructor Summary
HealthEventLog()
           
HealthEventLog(HealthEventLog.HealthEventLogType type)
           
 
Method Summary
 int compareTo(HealthEventLog o)
           
 java.lang.String getMessage()
           
 java.lang.String getSource()
           
 long getTimestamp()
           
 HealthEventLog.HealthEventLogType getType()
           
 java.lang.String getTypeDescription()
           
 java.lang.String getTypeName()
           
 void setMessage(java.lang.String message)
           
 void setSource(java.lang.String source)
           
 void setTimestamp(long timestamp)
           
 void setType(HealthEventLog.HealthEventLogType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HealthEventLog

public HealthEventLog()

HealthEventLog

public HealthEventLog(HealthEventLog.HealthEventLogType type)
Method Detail

getTimestamp

public long getTimestamp()

setTimestamp

public void setTimestamp(long timestamp)

getType

public HealthEventLog.HealthEventLogType getType()

getTypeName

public java.lang.String getTypeName()

getTypeDescription

public java.lang.String getTypeDescription()

setType

public void setType(HealthEventLog.HealthEventLogType type)

getSource

public java.lang.String getSource()

setSource

public void setSource(java.lang.String source)

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(HealthEventLog o)
Specified by:
compareTo in interface java.lang.Comparable<HealthEventLog>