Package kieker.common.record
Interface IMonitoringRecord
- All Superinterfaces:
Comparable<IMonitoringRecord>,Serializable
- All Known Subinterfaces:
ICallObjectRecord,ICallRecord,IClassSignature,IConstructorRecord,IEventRecord,IExceptionRecord,IFlowRecord,IInterfaceRecord,IObjectRecord,IOperationRecord,IOperationSignature,IParameterValueEvent,IPayloadCharacterization,IRemoteControlEvent,IRemoteParameterControlEvent,ISessionEvent,IThreadBasedRecord,ITraceRecord
- All Known Implementing Classes:
AbstractEvent,AbstractJVMRecord,AbstractMonitorEvent,AbstractMonitoringRecord,AbstractOperationEvent,AbstractThreadBasedEvent,AbstractTraceEvent,ActivationEvent,ActivationParameterEvent,AddParameterValueEvent,AfterConstructorEvent,AfterConstructorFailedEvent,AfterConstructorFailedObjectEvent,AfterConstructorObjectEvent,AfterDatabaseEvent,AfterFailedThreadBasedEvent,AfterOperationEvent,AfterOperationFailedEvent,AfterOperationFailedObjectEvent,AfterOperationObjectEvent,AfterThreadBasedEvent,ApplicationTraceMetadata,BeforeConstructorEvent,BeforeConstructorObjectEvent,BeforeConstructorObjectInterfaceEvent,BeforeDatabaseEvent,BeforeOperationEvent,BeforeOperationObjectEvent,BeforeOperationObjectInterfaceEvent,BeforeReceivedRemoteEvent,BeforeSentRemoteEvent,BeforeThreadBasedEvent,BranchingRecord,CallConstructorEvent,CallConstructorObjectEvent,CallOperationEvent,CallOperationObjectEvent,ClassLoadingRecord,CompilationRecord,ConstructionEvent,CPUUtilizationRecord,DatabaseFailedEvent,DeactivationEvent,DiskUsageRecord,EmptyRecord,EntryLevelBeforeOperationEvent,EntryLevelBeforeOperationObjectEvent,GCRecord,HostApplicationMetaData,JoinEvent,KiekerMetadataRecord,LoadAverageRecord,MemoryRecord,MemSwapUsageRecord,MonitorEntryEvent,MonitorExitEvent,MonitorNotifyAllEvent,MonitorNotifyEvent,MonitorRequestEvent,MonitorWaitEvent,NetworkUtilizationRecord,OperationCallEvent,OperationExecutionRecord,RegistryRecord,RemoveParameterValueEvent,ResourceUtilizationRecord,SessionEndEvent,SessionStartEvent,SplitEvent,ThreadMetaData,ThreadsStatusRecord,TimestampRecord,TraceMetadata,UpdateParameterEvent,UptimeRecord
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.
- Since:
- 1.2
- Author:
- Andre van Hoorn, Jan Waller
- See Also:
-
Factory
-
Method Summary
Modifier and TypeMethodDescriptionlongDelivers the current timestamp of the record.intgetSize()This method should deliver the size of a binary representation of this record.String[]This method delivers an array containing the value names of the record.Class<?>[]This method delivers an array with the classes of the single values for the record.voidserialize(IValueSerializer serializer) This method serializes this record using the given serializer.voidsetLoggingTimestamp(long timestamp) Sets the logging timestamp to a new value.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 Details
-
getLoggingTimestamp
long getLoggingTimestamp()Delivers the current timestamp of the record.- Returns:
- The timestamp.
- Since:
- 1.2
-
setLoggingTimestamp
void setLoggingTimestamp(long timestamp) Sets the logging timestamp to a new value.- Parameters:
timestamp- The new timestamp for the record.- Since:
- 1.2
-
toString
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. -
serialize
This method serializes this record using the given serializer.- Parameters:
serializer- The serializer to serialize the record with. *- Throws:
BufferOverflowException- If the underlying buffer has insufficient capacity to store this record- Since:
- 1.13
-
getValueTypes
Class<?>[] getValueTypes()This method delivers an array with the classes of the single values for the record.- Returns:
- The types of the values. This returned array should be treated readonly.
- Since:
- 1.2
-
getValueNames
String[] getValueNames()This method delivers an array containing the value names of the record.- Returns:
- The types of the values. This returned array should be treated readonly.
- Since:
- 1.2
-
getSize
int getSize()This method should deliver the size of a binary representation of this record.- Returns:
- The size.
- Since:
- 1.8 might be deprecated since 1.13 removal must be reassessed. Size is relevant for binary deserialization with predefined array sizes. (to be removed in 1.14) With the introduction of value serializers, this method has become obsolete.
-