public abstract class StructuredLogItemBase extends Object implements StructuredLogItem
Convenience base for implementing StructuredLogItem
classes.
Instances of this class represent an event within a specific query
processing.
Each query processing is identified by a UUID. All instances of StructuredLogItemBase know the UUTID of the processing they are part of, and their own start and end timestampts. Start time is assigned upon constructing the StructuredLogItemBase and cannot be updated. End time is assigned by the first invocation of endEvent(); Subsequent invocations of endEvent() are ignired.
Modifier and Type | Method and Description |
---|---|
void |
finalize()
This method finalizes and the event.
|
long |
getEndTime() |
long |
getStartTime() |
abstract String |
toString() |
public void finalize()
finalize
in interface StructuredLogItem
finalize
in class Object
public long getStartTime()
getStartTime
in interface StructuredLogItem
public long getEndTime()
getEndTime
in interface StructuredLogItem
Copyright © 2015 SemaGrow - FP7. All rights reserved.