|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReadableLogStorage
Can be used by pull-style loggers to read the records from some external storage
| Method Summary | |
|---|---|
void |
close()
Close the storage |
int |
getSize()
Get the size of storage (in records) |
int |
load(List<LogRecord> list,
org.apache.cxf.jaxrs.ext.search.SearchCondition<LogRecord> condition,
int pageNumber,
int pageSize)
Read the records and load them into a provided list |
| Method Detail |
|---|
int load(List<LogRecord> list,
org.apache.cxf.jaxrs.ext.search.SearchCondition<LogRecord> condition,
int pageNumber,
int pageSize)
list - the list saved records should be added tocondition - the condition loaded records must meet, can be nullpageNumber - the initial page to have records loaded fromint - pageSize the max number of records to load from the storage
int getSize()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||