AMPS C/C++ Client Class Reference
AMPS C/C++ Client Version 5.3.4.3
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 FieldgetSubId () const
 Get the sub id for this recovery point. More...
 
virtual const FieldgetBookmark () const
 Get the bookmark for this recovery point. More...
 
virtual RecoveryPointImpldeepCopy ()
 Return a deep copy of self.
 
virtual RecoveryPointImpldeepCopy (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

virtual const Field& AMPS::FixedRecoveryPoint::getBookmark ( ) const
inlinevirtual

Get the bookmark for this recovery point.

Returns
The bookmark.

Implements AMPS::RecoveryPointImpl.

virtual const Field& AMPS::FixedRecoveryPoint::getSubId ( ) const
inlinevirtual

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: