public class SameFileLogEntryMatcher extends LogEntryMatcherFilter
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation
Constructor and Description |
---|
SameFileLogEntryMatcher(LogEntries logEntries,
LogEntry logEntry) |
SameFileLogEntryMatcher(LogEntries logEntries,
LogEntry logEntry,
LogEntryMatcher matcher) |
SameFileLogEntryMatcher(long filePosition) |
SameFileLogEntryMatcher(long filePosition,
LogEntryMatcher matcher) |
Modifier and Type | Method and Description |
---|---|
protected LogEntryMatcher.Operation |
filter(LogEntry entry)
Should the operation be filtered or not.
|
protected boolean |
filterJustLogs()
Should this filter only filter log type entries.
|
entries, initialize, match
public SameFileLogEntryMatcher(LogEntries logEntries, LogEntry logEntry)
public SameFileLogEntryMatcher(LogEntries logEntries, LogEntry logEntry, LogEntryMatcher matcher)
public SameFileLogEntryMatcher(long filePosition)
public SameFileLogEntryMatcher(long filePosition, LogEntryMatcher matcher)
protected boolean filterJustLogs()
LogEntryMatcherFilter
true
.filterJustLogs
in class LogEntryMatcherFilter
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.