RecoveryPointAdapter a handle class for implementing external storage of subscription recovery points and recovery from storage.
More...
#include <RecoveryPointAdapter.hpp>
|
| iterator | begin () |
| | To recover from an adapter, iterate over the adapter from begin() to end() with a RecoveryPointIterator. More...
|
| |
| iterator | end () |
| | Return the end of recovery marker. More...
|
| |
| void | update (RecoveryPoint &recoveryPoint_) |
| | Update the storage information with the given recovery point. More...
|
| |
|
void | purge () |
| | Remove all data from the storage.
|
| |
| void | purge (const Field &subId_) |
| | Remove the specified subId_ from the storage. More...
|
| |
|
void | close () |
| | Take any necessary actions to close the associated storage.
|
| |
|
void | prune () |
| | Take any necessary actions to close the associated storage.
|
| |
|
bool | isValid () const |
| | Return if this has a valid implementation.
|
| |
RecoveryPointAdapter a handle class for implementing external storage of subscription recovery points and recovery from storage.
| iterator AMPS::RecoveryPointAdapter::begin |
( |
void |
| ) |
|
|
inline |
To recover from an adapter, iterate over the adapter from begin() to end() with a RecoveryPointIterator.
Calling *iter should yield a RecoveryPoint&. Begin recovery from storage and return an iterator to the first RecoveryPoint or end() if there are none.
- Returns
- The iterator for the first RecoveryPoint or end() if empty.
| iterator AMPS::RecoveryPointAdapter::end |
( |
void |
| ) |
|
|
inline |
Return the end of recovery marker.
- Returns
- The iterator marking the end of recovery.
| void AMPS::RecoveryPointAdapter::purge |
( |
const Field & |
subId_ | ) |
|
|
inline |
Remove the specified subId_ from the storage.
- Parameters
-
| subId_ | The sub id to remove |
| void AMPS::RecoveryPointAdapter::update |
( |
RecoveryPoint & |
recoveryPoint_ | ) |
|
|
inline |
Update the storage information with the given recovery point.
- Parameters
-
The documentation for this class was generated from the following file: