GigaSpaces XAP 9.7.2 API

com.gigaspaces.log
Class BeforeEntryLogEntryMatcher

java.lang.Object
  extended by com.gigaspaces.log.LogEntryMatcherFilter
      extended by com.gigaspaces.log.BeforeEntryLogEntryMatcher
All Implemented Interfaces:
LogEntryMatcher, Serializable

public class BeforeEntryLogEntryMatcher
extends LogEntryMatcherFilter

A matcher filter that will return log entries that happened till the provided log entry.

Author:
kimchy
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation
 
Constructor Summary
BeforeEntryLogEntryMatcher(LogEntries logEntries, LogEntry logEntry)
           
BeforeEntryLogEntryMatcher(LogEntries logEntries, LogEntry logEntry, boolean inclusive)
           
BeforeEntryLogEntryMatcher(LogEntries logEntries, LogEntry logEntry, boolean inclusive, LogEntryMatcher matcher)
           
BeforeEntryLogEntryMatcher(LogEntries logEntries, LogEntry logEntry, LogEntryMatcher matcher)
           
 
Method Summary
protected  LogEntryMatcher.Operation filter(LogEntry entry)
          Should the operation be filtered or not.
protected  boolean filterJustLogs()
          Should this filter only filter log type entries.
 
Methods inherited from class com.gigaspaces.log.LogEntryMatcherFilter
entries, initialize, match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeforeEntryLogEntryMatcher

public BeforeEntryLogEntryMatcher(LogEntries logEntries,
                                  LogEntry logEntry)

BeforeEntryLogEntryMatcher

public BeforeEntryLogEntryMatcher(LogEntries logEntries,
                                  LogEntry logEntry,
                                  boolean inclusive)

BeforeEntryLogEntryMatcher

public BeforeEntryLogEntryMatcher(LogEntries logEntries,
                                  LogEntry logEntry,
                                  LogEntryMatcher matcher)

BeforeEntryLogEntryMatcher

public BeforeEntryLogEntryMatcher(LogEntries logEntries,
                                  LogEntry logEntry,
                                  boolean inclusive,
                                  LogEntryMatcher matcher)
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.