org.jboss.messaging.core.paging
Interface Page

All Known Implementing Classes:
PageImpl

public interface Page

Look at the WIKI for more information.

Author:
Clebert Suconic
See Also:
PagingManager

Method Summary
 void close()
           
 void delete()
           
 int getNumberOfMessages()
           
 int getPageId()
           
 int getSize()
           
 void open()
           
 java.util.List<PagedMessage> read()
           
 void sync()
           
 void write(PagedMessage message)
           
 

Method Detail

getPageId

int getPageId()

write

void write(PagedMessage message)
           throws java.lang.Exception
Throws:
java.lang.Exception

read

java.util.List<PagedMessage> read()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getSize

int getSize()

getNumberOfMessages

int getNumberOfMessages()

sync

void sync()
          throws java.lang.Exception
Throws:
java.lang.Exception

open

void open()
          throws java.lang.Exception
Throws:
java.lang.Exception

close

void close()
           throws java.lang.Exception
Throws:
java.lang.Exception

delete

void delete()
            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.