|
||||||||||
| 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) |
void |
load(List<LogRecord> list,
org.apache.cxf.jaxrs.ext.search.SearchCondition<LogRecord> condition,
int loadFrom,
int maxNumberOfRecords)
Read the records and load them into a provided list |
| Method Detail |
|---|
void load(List<LogRecord> list,
org.apache.cxf.jaxrs.ext.search.SearchCondition<LogRecord> condition,
int loadFrom,
int maxNumberOfRecords)
list - the list saved records should be added tocondition - the condition loaded records must meet, can be nullloadFrom - the initial index of the storage to have records loaded fromint - maxNumberOfRecords the max number of records to load from the storageint getSize()
the - size, -1 if not known, for ex, when reading from an open file containing log entriesvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||