com.crankuptheamps.client
Interface Subscription
public interface Subscription
log
long log(BookmarkField bookmark)
throws IOException
- Throws:
IOException
discard
void discard(long index)
throws IOException
- Throws:
IOException
isDiscarded
boolean isDiscarded(BookmarkField bookmark)
throws IOException
- Throws:
IOException
getMostRecent
Field getMostRecent()
getMostRecentList
Field getMostRecentList()
persisted
void persisted(long bookmark)
throws IOException
- Throws:
IOException
persisted
void persisted(BookmarkField bookmark)
throws IOException
- Throws:
IOException
setLastPersisted
void setLastPersisted(long bookmark)
throws IOException
- Throws:
IOException
setLastPersisted
void setLastPersisted(BookmarkField bookmark)
throws IOException
- Throws:
IOException
noPersistedAcks
void noPersistedAcks()
setPersistedAcks
void setPersistedAcks()
getOldestBookmarkSeq
long getOldestBookmarkSeq()
setResizeHandler
void setResizeHandler(BookmarkStoreResizeHandler handler,
BookmarkStore store)