Class ContainerEvent

  • All Implemented Interfaces:
    Serializable, Comparable<kieker.common.record.IMonitoringRecord>, kieker.common.record.IMonitoringRecord, kieker.common.record.IMonitoringRecord.BinaryFactory, kieker.common.record.IMonitoringRecord.Factory
    Direct Known Subclasses:
    ContainerAllocationEvent, ContainerDeallocationEvent

    public abstract class ContainerEvent
    extends kieker.common.record.AbstractMonitoringRecord
    implements kieker.common.record.IMonitoringRecord.Factory, kieker.common.record.IMonitoringRecord.BinaryFactory
    Since:
    1.12
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord

        kieker.common.record.IMonitoringRecord.BinaryFactory, kieker.common.record.IMonitoringRecord.Factory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String URL  
      • Fields inherited from class kieker.common.record.AbstractMonitoringRecord

        TYPE_SIZE_BOOLEAN, TYPE_SIZE_BYTE, TYPE_SIZE_CHARACTER, TYPE_SIZE_DOUBLE, TYPE_SIZE_FLOAT, TYPE_SIZE_INT, TYPE_SIZE_LONG, TYPE_SIZE_SHORT, TYPE_SIZE_STRING
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ContainerEvent​(Object[] values, Class<?>[] valueTypes)
      This constructor uses the given array to initialize the fields of this record.
        ContainerEvent​(String url)
      Creates a new instance of this class using the given parameters.
        ContainerEvent​(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
      String getUrl()  
      void initFromArray​(Object[] values)
      Deprecated.
      This record uses the IMonitoringRecord.Factory mechanism.
      void initFromBytes​(ByteBuffer buffer, kieker.common.util.registry.IRegistry<String> stringRegistry)
      Deprecated.
      This record uses the IMonitoringRecord.BinaryFactory mechanism.
      • Methods inherited from class kieker.common.record.AbstractMonitoringRecord

        checkArray, classForName, compareTo, createFromArray, createFromArray, createFromByteBuffer, createFromByteBuffer, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, registerStrings, setLoggingTimestamp, toString, typesForClass
      • Methods inherited from interface kieker.common.record.IMonitoringRecord

        getSize, getValueTypes, toArray, writeBytes
    • Constructor Detail

      • ContainerEvent

        public ContainerEvent​(String url)
        Creates a new instance of this class using the given parameters.
        Parameters:
        url - url
      • ContainerEvent

        protected ContainerEvent​(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.
      • ContainerEvent

        public ContainerEvent​(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

      • initFromArray

        @Deprecated
        public void initFromArray​(Object[] values)
        Deprecated.
        This record uses the IMonitoringRecord.Factory mechanism. Hence, this method is not implemented.
        Specified by:
        initFromArray in interface kieker.common.record.IMonitoringRecord
      • initFromBytes

        @Deprecated
        public void initFromBytes​(ByteBuffer buffer,
                                  kieker.common.util.registry.IRegistry<String> stringRegistry)
                           throws BufferUnderflowException
        Deprecated.
        This record uses the IMonitoringRecord.BinaryFactory mechanism. Hence, this method is not implemented.
        Specified by:
        initFromBytes in interface kieker.common.record.IMonitoringRecord
        Throws:
        BufferUnderflowException
      • getUrl

        public final String getUrl()