com.crankuptheamps.client
Interface Subscription


public interface Subscription


Method Summary
 void discard(long index)
           
 Field getMostRecent()
           
 Field getMostRecentList()
           
 long getOldestBookmarkSeq()
           
 boolean isDiscarded(BookmarkField bookmark)
           
 long log(BookmarkField bookmark)
           
 void noPersistedAcks()
           
 void persisted(BookmarkField bookmark)
           
 void persisted(long bookmark)
           
 void setLastPersisted(BookmarkField bookmark)
           
 void setLastPersisted(long bookmark)
           
 void setPersistedAcks()
           
 void setResizeHandler(BookmarkStoreResizeHandler handler, BookmarkStore store)
           
 

Method Detail

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)