|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gigaspaces.log.ForwardChunkLogEntryMatcher
public class ForwardChunkLogEntryMatcher
A forward chunk that iterates over all the log files, from start to end. Returning null
if there is nothing more to iterate over.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher |
---|
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation |
Constructor Summary | |
---|---|
ForwardChunkLogEntryMatcher(LogEntryMatcher matcher)
|
Method Summary | |
---|---|
LogEntries |
clientSideProcess(LogEntries entries)
Process the log entries and use the resulted entries. |
List<LogEntry> |
entries()
Returns all the relevant entries this matcher accumulated. |
void |
initialize(LogEntryMatcher.InitializationContext context)
Called on the loggable component side (server) before starting to traverse the log file. |
LogEntryMatcher.Operation |
match(LogEntry entry)
Controls if the traversal of the log file should continue, or break. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForwardChunkLogEntryMatcher(LogEntryMatcher matcher)
Method Detail |
---|
public void initialize(LogEntryMatcher.InitializationContext context) throws IOException
LogEntryMatcher
initialize
in interface LogEntryMatcher
IOException
public List<LogEntry> entries()
LogEntryMatcher
Note, for ease of use in implementing the matcher, the entries are assumed to be from newest to oldest (if the matcher value order).
entries
in interface LogEntryMatcher
public LogEntryMatcher.Operation match(LogEntry entry)
LogEntryMatcher
LogEntryMatcher.entries()
accumulated will be returned.
match
in interface LogEntryMatcher
public LogEntries clientSideProcess(LogEntries entries)
ClientLogEntryMatcherCallback
clientSideProcess
in interface ClientLogEntryMatcherCallback
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |