public interface ReadableLogStorage
| Modifier and Type | Method and Description |
|---|---|
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
|
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 storageint getSize()
void close()
Apache CXF