Package com.gigaspaces.log
Class LastNLogEntryMatcher
java.lang.Object
com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.LastNLogEntryMatcher
- All Implemented Interfaces:
LogEntryMatcher,Serializable
Returns the last N log entries.
- Author:
- kimchy
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation -
Constructor Summary
ConstructorsConstructorDescriptionLastNLogEntryMatcher(int lastN) LastNLogEntryMatcher(int lastN, LogEntryMatcher matcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected LogEntryMatcher.OperationShould the operation be filtered or not.Methods inherited from class com.gigaspaces.log.LogEntryMatcherFilter
entries, filterJustLogs, initialize, match
-
Constructor Details
-
LastNLogEntryMatcher
public LastNLogEntryMatcher(int lastN) -
LastNLogEntryMatcher
-
-
Method Details
-
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
-