AMPS C# Client
5.3.3.4
AMPS C# Client for .NET
|
Public Member Functions | |
MemoryBookmarkStore (RecoveryPointAdapter adapter_, RecoveryPointFactory factory_=null) | |
MemoryBookmarkStore (int targetNumberOfSubscriptions) | |
Initialize self with a target number of subscriptions to store More... | |
void | setRecoveryPointFactory (RecoveryPointFactory factory_) |
void | Dispose () |
long | log (Message message) |
void | discard (Field subId, long bookmarkSeqNo) |
void | discard (Message message) |
Field | getMostRecent (Field subId, bool useList=true) |
bool | isDiscarded (Message message) |
void | persisted (Field subId, long bookmark) |
void | persisted (Field subId, BookmarkField bookmark) |
void | purge (Field subId_) |
void | purge () |
long | getOldestBookmarkSeq (Field subId) |
void | setResizeHandler (BookmarkStoreResizeHandler handler) |
void | setServerVersion (int version) |
int | getServerVersion () |
|
inline |
Initialize self with a target number of subscriptions to store
targetNumberOfSubscriptions | the number of subscriptions this store will need to track |
|
inline |
Log a discard-bookmark entry to the persistent log based on a bookmark sequence number.
Implements AMPS.Client.BookmarkStore.
|
inline |
Log a discard-bookmark entry to the persistent log based on a Message.
Implements AMPS.Client.BookmarkStore.
Returns the most recent bookmark from the log that ought to be used for (re-)subscriptions.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called to retrieve the sequence number of the oldest bookmark in the store.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called for each arriving message to determine if the application has already seen this bookmark and should not be reprocessed. Returns 'true' if the bookmark is in the log and should not be re-processed, false otherwise.
Implements AMPS.Client.BookmarkStore.
|
inline |
Log a bookmark to the persistent log.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called to mark a message as safely persisted by AMPS to all of its sync replication destination.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called to mark a message as safely persisted by AMPS to all of its sync replication destination.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called to purge the contents of this store. Removes any tracking history associated with publishers and received messages, and may delete or truncate on-disk representations as well.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called to purge the contents of this store for a given subId. Removes any tracking history associated with publishers and received messages, and may delete or truncate on-disk representations as well.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called to set a resize handler that is invoked when the store needs to resize.
Implements AMPS.Client.BookmarkStore.
|
inline |
Called to set the version of the server used with this store.
Implements AMPS.Client.BookmarkStore.