Package com.gigaspaces.log
Class SameFileLogEntryMatcher
java.lang.Object
com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.SameFileLogEntryMatcher
- All Implemented Interfaces:
LogEntryMatcher,Serializable
A log entry matcher filter that matches on logs that only exists within the same log file.
- Author:
- kimchy
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation -
Constructor Summary
ConstructorsConstructorDescriptionSameFileLogEntryMatcher(long filePosition) SameFileLogEntryMatcher(long filePosition, LogEntryMatcher matcher) SameFileLogEntryMatcher(LogEntries logEntries, LogEntry logEntry) SameFileLogEntryMatcher(LogEntries logEntries, LogEntry logEntry, LogEntryMatcher matcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected LogEntryMatcher.OperationShould the operation be filtered or not.protected booleanShould this filter only filter log type entries.Methods inherited from class com.gigaspaces.log.LogEntryMatcherFilter
entries, initialize, match
-
Constructor Details
-
SameFileLogEntryMatcher
-
SameFileLogEntryMatcher
-
SameFileLogEntryMatcher
public SameFileLogEntryMatcher(long filePosition) -
SameFileLogEntryMatcher
-
-
Method Details
-
filterJustLogs
protected boolean filterJustLogs()Description copied from class:LogEntryMatcherFilterShould this filter only filter log type entries. Defaults totrue.- Overrides:
filterJustLogsin classLogEntryMatcherFilter
-
filter
Description copied from class:LogEntryMatcherFilterShould the operation be filtered or not.LogEntryMatcher.Operation.BREAKin order to break and finish the matching process.LogEntryMatcher.Operation.IGNOREto ignore the current log entry (so it won't be passed to the delegated matcher). AndLogEntryMatcher.Operation.CONTINUEto pass the current log entry to the delegated matcher.- Specified by:
filterin classLogEntryMatcherFilter
-