com.crankuptheamps.client
Class Client.Bookmarks
java.lang.Object
com.crankuptheamps.client.Client.Bookmarks
- Enclosing class:
- Client
public static final class Client.Bookmarks
- extends Object
Functions that take a bookmark (String) such as
Client.bookmarkSubscribe(com.crankuptheamps.client.MessageHandler, java.lang.String, java.lang.String, com.crankuptheamps.client.CommandId, java.lang.String, java.lang.String, long)
can be passed a literal bookmark ID,
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.
Field Summary |
static String |
EPOCH
Start the subscription at the beginning of the journal. |
static 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 String |
NOW
Start the subscription at the point in time when AMPS processes
the subscription. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MOST_RECENT
public static final 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.
- See Also:
- Constant Field Values
EPOCH
public static final String EPOCH
- Start the subscription at the beginning of the journal.
- See Also:
- Constant Field Values
NOW
public static final String NOW
- Start the subscription at the point in time when AMPS processes
the subscription.
- See Also:
- Constant Field Values
Client.Bookmarks
public Client.Bookmarks()