public interface RecoveryPoint
RecoveryPointAdapter
's to represent a bookmark
subscription's recovery state, to allow that subscription to be resumed
in a reasonable place when the subscriber application exits and restarts.
This is typically a representation for one or more bookmarks, similar to
the MOST_RECENT state of a bookmark store that's used for resuming replays.
Implementations of this interface may contain a snapshot of recovery state
or may be lazily evaluated, such that they return the associated bookmark
store's current recovery state for the specified subscription id.Modifier and Type | Method and Description |
---|---|
RecoveryPoint |
copy()
Creates and returns a deep copy of self.
|
BookmarkField |
getBookmark()
Returns the subscription's recovery bookmark state.
|
Field |
getSubId()
Returns the subscription id that this recovery point belongs to.
|
Field getSubId()
BookmarkField getBookmark()
RecoveryPoint copy()