Package com.gigaspaces.log
Class FirstFileLogEntryMatcher
java.lang.Object
com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.FirstFileLogEntryMatcher
- All Implemented Interfaces:
LogEntryMatcher,Serializable
A matcher that will be executed only on the first 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
Constructors -
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
-
FirstFileLogEntryMatcher
public FirstFileLogEntryMatcher() -
FirstFileLogEntryMatcher
-
-
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
-