public class ForwardChunkLogEntryMatcher extends Object implements LogEntryMatcher, ClientLogEntryMatcherCallback, StreamLogEntryMatcher
null
if there is nothing more to iterate over.LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation| Constructor and Description |
|---|
ForwardChunkLogEntryMatcher(LogEntryMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ForwardChunkLogEntryMatcher(LogEntryMatcher matcher)
public void initialize(LogEntryMatcher.InitializationContext context) throws IOException
LogEntryMatcherinitialize 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)
ClientLogEntryMatcherCallbackclientSideProcess in interface ClientLogEntryMatcherCallbackCopyright © GigaSpaces.