Class RBMBackedTimestampSetSerialiser

  • All Implemented Interfaces:
    Serializable, Serialiser<RBMBackedTimestampSet,​byte[]>, ToBytesSerialiser<RBMBackedTimestampSet>

    public class RBMBackedTimestampSetSerialiser
    extends Object
    implements ToBytesSerialiser<RBMBackedTimestampSet>
    A RBMBackedTimestampSetSerialiser serialises a RBMBackedTimestampSet to an array of bytes.

    The following figures illustrate the serialised size of some RBMBackedTimestampSets with different numbers of timestamps added and different time buckets:

    • When the time bucket is a minute and 100 random minutes from a single day are added then the serialised size is approximately 210 bytes.
    • When the time bucket is a minute and every minute in a single year is added then the serialised size is approximately 73000 bytes.
    • When the time bucket is a second and every second in a single year is added then the serialised size is approximately 4,000,000 bytes.
    See Also:
    Serialized Form