Class LogEntry
- java.lang.Object
-
- de.uplanet.lucy.server.monitor.log.LogEntry
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
@Scriptable public final class LogEntry extends Object implements groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATE_FMT_STRThe date format used for logging.static charDELIMITERThe default field seperator.static charESCAPEThe escape character (\).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAt(String p_strKey)groovy.lang.MetaClassgetMetaClass()ObjectgetProperty(String p_strName)longgetTime()Get the log time of this statistics entryStringgetValue(String p_strKey)booleanhasValue(String p_strKey)ObjectinvokeMethod(String p_strName, Object p_args)voidsetMetaClass(groovy.lang.MetaClass p_metaClass)voidsetProperty(String p_strName, Object p_value)StringtoString()
-
-
-
Field Detail
-
DATE_FMT_STR
public static final String DATE_FMT_STR
The date format used for logging.- See Also:
- Constant Field Values
-
DELIMITER
public static final char DELIMITER
The default field seperator.- See Also:
- Constant Field Values
-
ESCAPE
public static final char ESCAPE
The escape character (\).- See Also:
- Constant Field Values
-
-
Method Detail
-
getTime
public long getTime()
Get the log time of this statistics entry- Returns:
- The log time in milliseconds since midnight, 1970-01-01 UTC.
-
hasValue
public boolean hasValue(String p_strKey)
-
getProperty
public Object getProperty(String p_strName)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String p_strName, Object p_value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String p_strName, Object p_args)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass p_metaClass)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
-