public class ContinuousLogEntryMatcher extends Object implements LogEntryMatcher, ClientLogEntryMatcherCallback, StreamLogEntryMatcher
AfterEntryLogEntryMatcher will be
used with the last log entry returned.LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation| Constructor and Description |
|---|
ContinuousLogEntryMatcher(LogEntryMatcher initialMatcher,
LogEntryMatcher continousMatcher) |
| 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 ContinuousLogEntryMatcher(LogEntryMatcher initialMatcher, LogEntryMatcher continousMatcher)
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.