Class that represents an individual checkpoint i.e. More...

Detailed Description

Class that represents an individual checkpoint i.e.

a snapshot of the state of the operator when the checkpoint is created.

Member Function Documentation

◆ getSequenceId()

Get the sequence identifier of this Checkpoint.

Returns
the sequence id of this

◆ getTimestamp()

Returns the time at which the checkpoint is created.

This can only be called at restore time.

Returns
the checkpoint creation time as a double value in seconds since the Epoch
Exceptions

◆ addChar()

◆ getChar()

Extract/de-serialize a character from the Checkpoint.

Returns
a character
Exceptions

◆ addBool()

◆ getBool()

Extract/de-serialize a boolean from the Checkpoint.

Returns
a boolean
Exceptions

◆ addUInt8()

◆ getUInt8()

Extract/de-serialize a uint8_t from the Checkpoint.

Returns
a uint8_t
Exceptions

◆ addInt8()

◆ getInt8()

Extract/de-serialize an int8_t from the Checkpoint.

Returns
an int8_t
Exceptions

◆ addUInt16()

◆ getUInt16()

Extract/de-serialize a uint16_t from the Checkpoint.

Returns
a uint16_t
Exceptions

◆ addInt16()

◆ getInt16()

Extract/de-serialize an int16_t from the Checkpoint.

Returns
an int16_t
Exceptions

◆ addUInt32()

◆ getUInt32()

Extract/de-serialize a uint32_t from the Checkpoint.

Returns
a uint32_t
Exceptions

◆ addInt32()

◆ getInt32()

Extract/de-serialize an int32_t from the Checkpoint.

Returns
an int32_t
Exceptions

◆ addUInt64()

◆ getUInt64()

Extract/de-serialize a uint64_t from the Checkpoint.

Returns
a uint64_t
Exceptions

◆ addInt64()

◆ getInt64()

Extract/de-serialize an int64_t from the Checkpoint.

Returns
an int64_t
Exceptions

◆ addFloat()

◆ getFloat()

Extract/de-serialize a float from the Checkpoint.

Returns
a single-precision floating point number
Exceptions

◆ addDouble()

◆ getDouble()

Extract/de-serialize a double from the Checkpoint.

Returns
a double-precision floating point number
Exceptions

◆ addSTLString()

◆ getSTLString()

◆ getContentSize()

Obtain the size of the content current in the Checkpoint.

Returns
the size (in Bytes) of the content current in the
Exceptions

◆ getNRemainingBytes()

Obtain number of serialized bytes remaining from the location pointed by the output cursor till the end of the buffer (Not supported)

Exceptions

◆ getOCursor()

Get the internal buffer output cursor (Not supported)

Returns
current output cursor buffer cursor
Exceptions

The documentation for this class was generated from the following file: