Package org.iobserve.common.record
Class ContainerDeallocationEvent
- java.lang.Object
-
- kieker.common.record.AbstractMonitoringRecord
-
- org.iobserve.common.record.ContainerEvent
-
- org.iobserve.common.record.ContainerDeallocationEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<kieker.common.record.IMonitoringRecord>
,kieker.common.record.IMonitoringRecord
,kieker.common.record.IMonitoringRecord.BinaryFactory
,kieker.common.record.IMonitoringRecord.Factory
,IDeallocationRecord
public class ContainerDeallocationEvent extends ContainerEvent implements IDeallocationRecord
- Since:
- 1.12
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
SIZE
Descriptive definition of the serialization size of the record.static Class<?>[]
TYPES
-
Fields inherited from class org.iobserve.common.record.ContainerEvent
URL
-
-
Constructor Summary
Constructors Modifier Constructor Description ContainerDeallocationEvent(Object[] values)
This constructor converts the given array into a record.protected
ContainerDeallocationEvent(Object[] values, Class<?>[] valueTypes)
This constructor uses the given array to initialize the fields of this record.ContainerDeallocationEvent(String url)
Creates a new instance of this class using the given parameters.ContainerDeallocationEvent(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry)
This constructor converts the given array into a record.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getSize()
Class<?>[]
getValueTypes()
void
initFromArray(Object[] values)
Deprecated.This record uses theIMonitoringRecord.Factory
mechanism.void
initFromBytes(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry)
Deprecated.This record uses theIMonitoringRecord.BinaryFactory
mechanism.void
registerStrings(kieker.common.util.registry.IRegistry<String> stringRegistry)
Object[]
toArray()
void
writeBytes(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry)
-
Methods inherited from class org.iobserve.common.record.ContainerEvent
getUrl
-
Methods inherited from class kieker.common.record.AbstractMonitoringRecord
checkArray, classForName, compareTo, createFromArray, createFromArray, createFromByteBuffer, createFromByteBuffer, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
SIZE
public static final int SIZE
Descriptive definition of the serialization size of the record.- See Also:
- Constant Field Values
-
TYPES
public static final Class<?>[] TYPES
-
-
Constructor Detail
-
ContainerDeallocationEvent
public ContainerDeallocationEvent(String url)
Creates a new instance of this class using the given parameters.- Parameters:
url
- url
-
ContainerDeallocationEvent
public ContainerDeallocationEvent(Object[] values)
This constructor converts the given array into a record. It is recommended to use the array which is the result of a call totoArray()
.- Parameters:
values
- The values for the record.
-
ContainerDeallocationEvent
protected ContainerDeallocationEvent(Object[] values, Class<?>[] valueTypes)
This constructor uses the given array to initialize the fields of this record.- Parameters:
values
- The values for the record.valueTypes
- The types of the elements in the first array.
-
ContainerDeallocationEvent
public ContainerDeallocationEvent(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry) throws BufferUnderflowException
This constructor converts the given array into a record.- Parameters:
buffer
- The bytes for the record.- Throws:
BufferUnderflowException
- if buffer not sufficient
-
-
Method Detail
-
toArray
public Object[] toArray()
- Specified by:
toArray
in interfacekieker.common.record.IMonitoringRecord
-
registerStrings
public void registerStrings(kieker.common.util.registry.IRegistry<String> stringRegistry)
- Specified by:
registerStrings
in interfacekieker.common.record.IMonitoringRecord
- Overrides:
registerStrings
in classkieker.common.record.AbstractMonitoringRecord
-
writeBytes
public void writeBytes(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry) throws BufferOverflowException
- Specified by:
writeBytes
in interfacekieker.common.record.IMonitoringRecord
- Throws:
BufferOverflowException
-
getValueTypes
public Class<?>[] getValueTypes()
- Specified by:
getValueTypes
in interfacekieker.common.record.IMonitoringRecord
-
getSize
public int getSize()
- Specified by:
getSize
in interfacekieker.common.record.IMonitoringRecord
-
initFromArray
@Deprecated public void initFromArray(Object[] values)
Deprecated.This record uses theIMonitoringRecord.Factory
mechanism. Hence, this method is not implemented.- Specified by:
initFromArray
in interfacekieker.common.record.IMonitoringRecord
- Overrides:
initFromArray
in classContainerEvent
-
initFromBytes
@Deprecated public void initFromBytes(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry) throws BufferUnderflowException
Deprecated.This record uses theIMonitoringRecord.BinaryFactory
mechanism. Hence, this method is not implemented.- Specified by:
initFromBytes
in interfacekieker.common.record.IMonitoringRecord
- Overrides:
initFromBytes
in classContainerEvent
- Throws:
BufferUnderflowException
-
-