com.gigaspaces.log
Class LastNLogEntryMatcher
java.lang.Object
  
com.gigaspaces.log.LogEntryMatcherFilter
      
com.gigaspaces.log.LastNLogEntryMatcher
- All Implemented Interfaces: 
 - LogEntryMatcher, Serializable
 
public class LastNLogEntryMatcher
- extends LogEntryMatcherFilter
 
Returns the last N log entries.
- Author:
 
  - kimchy
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LastNLogEntryMatcher
public LastNLogEntryMatcher(int lastN)
LastNLogEntryMatcher
public LastNLogEntryMatcher(int lastN,
                            LogEntryMatcher matcher)
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.