Class ChangeForReader_t

Class Documentation

class ChangeForReader_t

Struct ChangeForReader_t used to represent the state of a specific change with respect to a specific reader, as well as its relevance.

Public Functions

inline explicit ChangeForReader_t(CacheChange_t *change)
inline CacheChange_t *getChange() const

Get the cache change

Returns

Cache change

inline void setStatus(const ChangeForReaderStatus_t status)
inline ChangeForReaderStatus_t getStatus() const
inline const SequenceNumber_t getSequenceNumber() const
inline FragmentNumber_t get_next_unsent_fragment() const
inline FragmentNumberSet_t getUnsentFragments() const
inline void markAllFragmentsAsUnsent()
inline void markFragmentsAsSent(const FragmentNumber_t &sentFragment)
inline void markFragmentsAsUnsent(const FragmentNumberSet_t &unsentFragments)
inline bool has_been_delivered() const
inline void set_delivered()