Package org.iobserve.common.record
Class ServletDeployedEvent
- java.lang.Object
-
- kieker.common.record.AbstractMonitoringRecord
-
- kieker.common.record.flow.AbstractEvent
-
- org.iobserve.common.record.ServletDeploymentEvent
-
- org.iobserve.common.record.ServletDeployedEvent
-
- 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 ServletDeployedEvent extends ServletDeploymentEvent 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.ServletDeploymentEvent
CONTEXT, DEPLOYMENT_ID, SERIVCE
-
-
Constructor Summary
Constructors Modifier Constructor Description ServletDeployedEvent(long timestamp, String serivce, String context, String deploymentId)
Creates a new instance of this class using the given parameters.ServletDeployedEvent(Object[] values)
This constructor converts the given array into a record.protected
ServletDeployedEvent(Object[] values, Class<?>[] valueTypes)
This constructor uses the given array to initialize the fields of this record.ServletDeployedEvent(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.ServletDeploymentEvent
getContext, getDeploymentId, getSerivce
-
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
-
ServletDeployedEvent
public ServletDeployedEvent(long timestamp, String serivce, String context, String deploymentId)
Creates a new instance of this class using the given parameters.- Parameters:
timestamp
- timestampserivce
- serivcecontext
- contextdeploymentId
- deploymentId
-
ServletDeployedEvent
public ServletDeployedEvent(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.
-
ServletDeployedEvent
protected ServletDeployedEvent(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.
-
ServletDeployedEvent
public ServletDeployedEvent(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 classServletDeploymentEvent
-
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 classServletDeploymentEvent
- Throws:
BufferUnderflowException
-
-