AMPS C/C++ Client Class Reference AMPS C/C++ Client Version 5.3.5.7

Public Member Functions | Static Public Member Functions | List of all members
AMPS::FixedRecoveryPoint Class Reference

FixedRecoveryPoint is a RecoveryPoint implementation where subId and bookmark are set explicitly. More...

`#include <RecoveryPoint.hpp>`

Inheritance diagram for AMPS::FixedRecoveryPoint:

## Public Member Functions
virtual const Field & | getSubId () const
| Get the sub id for this recovery point. More...
virtual const Field & | getBookmark () const
| Get the bookmark for this recovery point. More...
virtual RecoveryPointImpl * | deepCopy ()
| Return a deep copy of self.
virtual RecoveryPointImpl * | deepCopy (const RecoveryPointImpl &original_)
| Make self a deep copy of original_.
virtual void | clear ()
| Clear the internal state, possibly reclaiming memory.

## Static Public Member Functions
static RecoveryPoint | create (const Field &subId_, const Field &bookmark_)
| Use this function in BookmarkStore::setRecoveryPointFactory( std::bind(&FixedRecoveryPoint::create, std::placeholder::_1, std::placeholder::_2))

## Detailed Description

FixedRecoveryPoint is a RecoveryPoint implementation where subId and bookmark are set explicitly.

This is normally used by RecoveryPointAdapter implementations during recover.

## Member Function Documentation

## ◆ getBookmark()

virtual const Field& AMPS::FixedRecoveryPoint::getBookmark | ( |  | ) | const
| inline virtual

Get the bookmark for this recovery point.

Returns
  The bookmark.

Implements AMPS::RecoveryPointImpl.

## ◆ getSubId()

virtual const Field& AMPS::FixedRecoveryPoint::getSubId | ( |  | ) | const
| inline virtual

Get the sub id for this recovery point.

Returns
  The sub id.

Implements AMPS::RecoveryPointImpl.

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

- include/amps/RecoveryPoint.hpp