public static final class Client.Bookmarks
extends java.lang.Object
Strings
.
Functions that take a bookmark such as
bookmarkSubscribe
can be passed a
bookmark ID, a timestamp with the format YYYYmmddTHHMMSS (as
described in the AMPS User Guide), or one of these special values.
For example, to begin a bookmark subscription at the beginning of the
journal, provide Bookmarks.EPOCH
as the bookmark in the
Command
object or the call to
bookmarkSubscribe.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EPOCH
Start the subscription at the beginning of the journal.
|
static java.lang.String |
MOST_RECENT
Start the subscription at the first undiscarded message in the
bookmark store, or at the end of the bookmark store if all
messages have been discarded.
|
static java.lang.String |
NOW
Start the subscription at the point in time when AMPS processes
the subscription.
|
Constructor and Description |
---|
Bookmarks() |
public static final java.lang.String MOST_RECENT
public static final java.lang.String EPOCH
public static final java.lang.String NOW