Interface IValueSerializer

All Known Implementing Classes:
BinaryValueSerializer, CassandraValueSerializer, TextValueSerializer

public interface IValueSerializer
Interface for value serializers for use by monitoring records.
Since:
1.13
Author:
Holger Knoche, Reiner Jung - added enumeration support
  • Method Summary

    Modifier and Type Method Description
    void putBoolean​(boolean value)
    Stores a boolean value in the underlying data store.
    void putByte​(byte value)
    Stores a byte value in the underlying data store.
    void putBytes​(byte[] value)
    Stores raw data in the underlying data store.
    void putChar​(char value)
    Stores a char value in the underlying data store.
    void putDouble​(double value)
    Stores a double value in the underlying data store.
    <T extends java.lang.Enum<T>>
    void
    putEnumeration​(T value)
    Stores a Enumeration value in the underlying data store.
    void putFloat​(float value)
    Stores a float value in the underlying data store.
    void putInt​(int value)
    Stores an int value in the underlying data store.
    void putLong​(long value)
    Stores a long value in the underlying data store.
    void putShort​(short value)
    Stores a short value in the underlying data store.
    void putString​(java.lang.String value)
    Stores a String value in the underlying data store.
  • Method Details

    • putBoolean

      void putBoolean​(boolean value)
      Stores a boolean value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putByte

      void putByte​(byte value)
      Stores a byte value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putChar

      void putChar​(char value)
      Stores a char value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putShort

      void putShort​(short value)
      Stores a short value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putInt

      void putInt​(int value)
      Stores an int value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putLong

      void putLong​(long value)
      Stores a long value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putFloat

      void putFloat​(float value)
      Stores a float value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putDouble

      void putDouble​(double value)
      Stores a double value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13
    • putEnumeration

      <T extends java.lang.Enum<T>> void putEnumeration​(T value)
      Stores a Enumeration value in the underlying data store.
      Type Parameters:
      T - enumeration type
      Parameters:
      value - The value to store
      Since:
      1.14
    • putBytes

      void putBytes​(byte[] value)
      Stores raw data in the underlying data store.
      Parameters:
      value - The data to store
      Since:
      1.13
    • putString

      void putString​(java.lang.String value)
      Stores a String value in the underlying data store.
      Parameters:
      value - The value to store
      Since:
      1.13