public class LastNLogEntryMatcher extends LogEntryMatcherFilter
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation
Constructor and Description |
---|
LastNLogEntryMatcher(int lastN) |
LastNLogEntryMatcher(int lastN,
LogEntryMatcher matcher) |
Modifier and Type | Method and Description |
---|---|
protected LogEntryMatcher.Operation |
filter(LogEntry entry)
Should the operation be filtered or not.
|
entries, filterJustLogs, initialize, match
public LastNLogEntryMatcher(int lastN)
public LastNLogEntryMatcher(int lastN, LogEntryMatcher matcher)
protected LogEntryMatcher.Operation filter(LogEntry entry)
LogEntryMatcherFilter
LogEntryMatcher.Operation.BREAK
in order to break and finish the matching process. LogEntryMatcher.Operation.IGNORE
to ignore the current log entry (so it won't be passed to the delegated matcher). And
LogEntryMatcher.Operation.CONTINUE
to pass the current log entry
to the delegated matcher.filter
in class LogEntryMatcherFilter
Copyright © GigaSpaces.