AMPS C# Client
5.3.3.4
AMPS C# Client for .NET
|
Public Member Functions | |
RingBookmarkStore (string path) | |
RingBookmarkStore (string path, int targetNumberOfSubscriptions) | |
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, BookmarkField bookmark) |
void | persisted (Field subId, long bookmark) |
long | getOldestBookmarkSeq (Field subId) |
void | setResizeHandler (BookmarkStoreResizeHandler handler) |
void | purge () |
void | purge (Field subId_) |
void | Dispose () |
void | setServerVersion (int version) |
|
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.