public interface IMonitoringRecord extends java.io.Serializable, java.lang.Comparable<IMonitoringRecord>
Warning: Objects within records should not contain ';', '\n', or '\r' in their respective toString() representation.
Factory
Modifier and Type | Method and Description |
---|---|
long |
getLoggingTimestamp()
Delivers the current timestamp of the record.
|
int |
getSize()
This method should deliver the size of a binary representation of this record.
|
java.lang.String[] |
getValueNames()
This method delivers an array containing the value names of the record.
|
java.lang.Class<?>[] |
getValueTypes()
This method delivers an array with the classes of the single values for the record.
|
void |
serialize(IValueSerializer serializer)
This method serializes this record using the given serializer.
|
void |
setLoggingTimestamp(long timestamp)
Sets the logging timestamp to a new value.
|
java.lang.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. |
long getLoggingTimestamp()
void setLoggingTimestamp(long timestamp)
timestamp
- The new timestamp for the record.java.lang.String toString()
toString
in class java.lang.Object
void serialize(IValueSerializer serializer) throws java.nio.BufferOverflowException
serializer
- The serializer to serialize the record with. *java.nio.BufferOverflowException
- If the underlying buffer has insufficient capacity to store this recordjava.lang.Class<?>[] getValueTypes()
java.lang.String[] getValueNames()
int getSize()
Copyright 2020 Kieker Project, http://kieker-monitoring.net