com.gigaspaces.log
Class SameFileLogEntryMatcher
java.lang.Object
com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.SameFileLogEntryMatcher
- All Implemented Interfaces:
- LogEntryMatcher, Serializable
public class SameFileLogEntryMatcher
- extends LogEntryMatcherFilter
A log entry matcher filter that matches on logs that only exists within the same log file.
- Author:
- kimchy
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SameFileLogEntryMatcher
public SameFileLogEntryMatcher(LogEntries logEntries,
LogEntry logEntry)
SameFileLogEntryMatcher
public SameFileLogEntryMatcher(LogEntries logEntries,
LogEntry logEntry,
LogEntryMatcher matcher)
SameFileLogEntryMatcher
public SameFileLogEntryMatcher(long filePosition)
SameFileLogEntryMatcher
public SameFileLogEntryMatcher(long filePosition,
LogEntryMatcher matcher)
filterJustLogs
protected boolean filterJustLogs()
- Description copied from class:
LogEntryMatcherFilter
- Should this filter only filter log type entries. Defaults to
true
.
- Overrides:
filterJustLogs
in class LogEntryMatcherFilter
filter
protected LogEntryMatcher.Operation filter(LogEntry entry)
- Description copied from class:
LogEntryMatcherFilter
- Should the operation be filtered or not.
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.
- Specified by:
filter
in class LogEntryMatcherFilter
Copyright © GigaSpaces.