public class SizeLogEntryMatcher extends Object implements LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation| Constructor and Description |
|---|
SizeLogEntryMatcher(int size) |
| 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.
|
public void initialize(LogEntryMatcher.InitializationContext context)
LogEntryMatcherinitialize in interface LogEntryMatcherpublic 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 LogEntryMatcherCopyright © GigaSpaces.