Package org.iobserve.common.record
Class EJBDeployedEvent
- java.lang.Object
-
- kieker.common.record.AbstractMonitoringRecord
-
- kieker.common.record.flow.AbstractEvent
-
- org.iobserve.common.record.EJBDeploymentEvent
-
- org.iobserve.common.record.EJBDeployedEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<kieker.common.record.IMonitoringRecord>
,kieker.common.record.flow.IEventRecord
,kieker.common.record.flow.IFlowRecord
,kieker.common.record.IMonitoringRecord
,kieker.common.record.IMonitoringRecord.BinaryFactory
,kieker.common.record.IMonitoringRecord.Factory
,IDeploymentRecord
public class EJBDeployedEvent extends EJBDeploymentEvent implements IDeploymentRecord
- 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.EJBDeploymentEvent
CONTEXT, DEPLOYMENT_ID
-
-
Constructor Summary
Constructors Modifier Constructor Description EJBDeployedEvent(long timestamp, String context, String deploymentId)
Creates a new instance of this class using the given parameters.EJBDeployedEvent(Object[] values)
This constructor converts the given array into a record.protected
EJBDeployedEvent(Object[] values, Class<?>[] valueTypes)
This constructor uses the given array to initialize the fields of this record.EJBDeployedEvent(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.EJBDeploymentEvent
getContext, getDeploymentId
-
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
-
EJBDeployedEvent
public EJBDeployedEvent(long timestamp, String context, String deploymentId)
Creates a new instance of this class using the given parameters.- Parameters:
timestamp
- timestampcontext
- contextdeploymentId
- deploymentId
-
EJBDeployedEvent
public EJBDeployedEvent(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.
-
EJBDeployedEvent
protected EJBDeployedEvent(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.
-
EJBDeployedEvent
public EJBDeployedEvent(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 classEJBDeploymentEvent
-
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 classEJBDeploymentEvent
- Throws:
BufferUnderflowException
-
-