public interface LogEntryMatcher extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
LogEntryMatcher.InitializationContext |
static class |
LogEntryMatcher.Operation |
Modifier and Type | Method and Description |
---|---|
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.
|
void initialize(LogEntryMatcher.InitializationContext context) throws IOException
IOException
List<LogEntry> entries()
Note, for ease of use in implementing the matcher, the entries are assumed to be from newest to oldest (if the matcher value order).
LogEntryMatcher.Operation match(LogEntry entry)
entries()
accumulated will be returned.Copyright © GigaSpaces.