|
GigaSpaces XAP 10.1 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 LogEntryMatcherIOExceptionpublic List<LogEntry> entries()
LogEntryMatcherNote, 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 LogEntryMatcherpublic LogEntryMatcher.Operation match(LogEntry entry)
LogEntryMatcherLogEntryMatcher.entries() accumulated will be returned.
match in interface LogEntryMatcherpublic LogEntries clientSideProcess(LogEntries entries)
ClientLogEntryMatcherCallback
clientSideProcess in interface ClientLogEntryMatcherCallback
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||