Package org.iobserve.common.record
Class ServletUndeployedEvent
- java.lang.Object
-
- kieker.common.record.AbstractMonitoringRecord
-
- kieker.common.record.flow.AbstractEvent
-
- org.iobserve.common.record.ServletDeploymentEvent
-
- org.iobserve.common.record.ServletUndeployedEvent
-
- 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,IUndeploymentRecord
public class ServletUndeployedEvent extends ServletDeploymentEvent implements IUndeploymentRecord
- Since:
- 1.12
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intSIZEDescriptive 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 ServletUndeployedEvent(long timestamp, String serivce, String context, String deploymentId)Creates a new instance of this class using the given parameters.ServletUndeployedEvent(Object[] values)This constructor converts the given array into a record.protectedServletUndeployedEvent(Object[] values, Class<?>[] valueTypes)This constructor uses the given array to initialize the fields of this record.ServletUndeployedEvent(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 intgetSize()Class<?>[]getValueTypes()voidinitFromArray(Object[] values)Deprecated.This record uses theIMonitoringRecord.Factorymechanism.voidinitFromBytes(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry)Deprecated.This record uses theIMonitoringRecord.BinaryFactorymechanism.voidregisterStrings(kieker.common.util.registry.IRegistry<String> stringRegistry)Object[]toArray()voidwriteBytes(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
-
ServletUndeployedEvent
public ServletUndeployedEvent(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
-
ServletUndeployedEvent
public ServletUndeployedEvent(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.
-
ServletUndeployedEvent
protected ServletUndeployedEvent(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.
-
ServletUndeployedEvent
public ServletUndeployedEvent(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:
toArrayin interfacekieker.common.record.IMonitoringRecord
-
registerStrings
public void registerStrings(kieker.common.util.registry.IRegistry<String> stringRegistry)
- Specified by:
registerStringsin interfacekieker.common.record.IMonitoringRecord- Overrides:
registerStringsin classkieker.common.record.AbstractMonitoringRecord
-
writeBytes
public void writeBytes(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry) throws BufferOverflowException
- Specified by:
writeBytesin interfacekieker.common.record.IMonitoringRecord- Throws:
BufferOverflowException
-
getValueTypes
public Class<?>[] getValueTypes()
- Specified by:
getValueTypesin interfacekieker.common.record.IMonitoringRecord
-
getSize
public int getSize()
- Specified by:
getSizein interfacekieker.common.record.IMonitoringRecord
-
initFromArray
@Deprecated public void initFromArray(Object[] values)
Deprecated.This record uses theIMonitoringRecord.Factorymechanism. Hence, this method is not implemented.- Specified by:
initFromArrayin interfacekieker.common.record.IMonitoringRecord- Overrides:
initFromArrayin classServletDeploymentEvent
-
initFromBytes
@Deprecated public void initFromBytes(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry) throws BufferUnderflowException
Deprecated.This record uses theIMonitoringRecord.BinaryFactorymechanism. Hence, this method is not implemented.- Specified by:
initFromBytesin interfacekieker.common.record.IMonitoringRecord- Overrides:
initFromBytesin classServletDeploymentEvent- Throws:
BufferUnderflowException
-
-