AMPS C/C++ Client Class Reference
AMPS C/C++ Client Version 5.3.4.4
|
RecoveryPointAdapterImpl virtual base class for implementing external storage of subscription recovery points and recovery from storage. More...
#include <RecoveryPointAdapter.hpp>
Public Member Functions | |
virtual bool | next (RecoveryPoint ¤t_)=0 |
Recovery is done by iteration over elements in storage. More... | |
virtual void | update (RecoveryPoint &recoveryPoint_)=0 |
Update the storage information with the given recovery point. More... | |
virtual void | purge ()=0 |
Remove all data from the storage. | |
virtual void | purge (const Field &subId_)=0 |
Remove the specified subId_ from the storage. More... | |
virtual void | close ()=0 |
Take any necessary actions to close the associated storage. | |
virtual void | prune () |
Take any necessary actions to reduce associated storage size. | |
RecoveryPointAdapterImpl virtual base class for implementing external storage of subscription recovery points and recovery from storage.
|
pure virtual |
Recovery is done by iteration over elements in storage.
This function modifies the passed in argument to be the next stored RecoveryPoint or an empty RecoveryPoint to indicate completion.
current_ | The RecoveryPoint to set as the next recovery item. |
Implemented in AMPS::ConflatingRecoveryPointAdapter, and AMPS::SOWRecoveryPointAdapter.
|
pure virtual |
Remove the specified subId_ from the storage.
subId_ | The sub id to remove |
Implemented in AMPS::ConflatingRecoveryPointAdapter, and AMPS::SOWRecoveryPointAdapter.
|
pure virtual |
Update the storage information with the given recovery point.
recoveryPoint_ | The new/updated RecoveryPoint to save. |
Implemented in AMPS::ConflatingRecoveryPointAdapter, and AMPS::SOWRecoveryPointAdapter.