|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMonitoringRecord
All Kieker monitoring records have to implement this minimal interface.
Warning: Objects within records should not contain ';', '\n', or '\r' in their respective toString() representation.
IMonitoringRecord.Factory
Nested Class Summary | |
---|---|
static interface |
IMonitoringRecord.Factory
Any record that implements this interface has to conform to certain specifications. |
Method Summary | |
---|---|
long |
getLoggingTimestamp()
Delivers the current timestamp of the record. |
Class<?>[] |
getValueTypes()
This method should deliver an array with the classes of the single values for the record. |
void |
initFromArray(Object[] values)
This method should initialize the record based on the given values. |
void |
setLoggingTimestamp(long timestamp)
Sets the logging timestamp to a new value. |
Object[] |
toArray()
This method should deliver an array containing the content of the record. |
String |
toString()
Creates a string representation of this record. This method should not be used for serialization purposes since this is not the purpose of Object's toString method. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
long getLoggingTimestamp()
void setLoggingTimestamp(long timestamp)
timestamp
- The new timestamp for the record.Object[] toArray()
String toString()
toString
in class Object
void initFromArray(Object[] values)
toArray()
.
values
- The values for the record.Class<?>[] getValueTypes()
toArray()
|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |