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 String
DATE_FMT_STR
The date format used for logging.static char
DELIMITER
The default field seperator.static char
ESCAPE
The escape character (\
).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAt(String p_strKey)
groovy.lang.MetaClass
getMetaClass()
Object
getProperty(String p_strName)
long
getTime()
Get the log time of this statistics entryString
getValue(String p_strKey)
boolean
hasValue(String p_strKey)
Object
invokeMethod(String p_strName, Object p_args)
void
setMetaClass(groovy.lang.MetaClass p_metaClass)
void
setProperty(String p_strName, Object p_value)
String
toString()
-
-
-
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:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String p_strName, Object p_value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String p_strName, Object p_args)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass p_metaClass)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
-