GigaSpaces XAP 10.0.1 API

com.gigaspaces.log
Class AfterTimeLogEntryMatcher

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

public class AfterTimeLogEntryMatcher
extends LogEntryMatcherFilter

A matcher filter that will match only on log entries that occurred after the specified time.

Author:
kimchy
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation
 
Field Summary
protected  long timestamp
           
 
Constructor Summary
AfterTimeLogEntryMatcher(long timestamp)
           
AfterTimeLogEntryMatcher(long timestamp, boolean inclusive)
           
AfterTimeLogEntryMatcher(long timestamp, boolean inclusive, LogEntryMatcher matcher)
           
AfterTimeLogEntryMatcher(long timestamp, LogEntryMatcher matcher)
           
AfterTimeLogEntryMatcher(String time)
           
AfterTimeLogEntryMatcher(String time, boolean inclusive)
           
AfterTimeLogEntryMatcher(String time, boolean inclusive, LogEntryMatcher matcher)
           
AfterTimeLogEntryMatcher(String time, LogEntryMatcher matcher)
           
AfterTimeLogEntryMatcher(String time, String format)
           
AfterTimeLogEntryMatcher(String time, String format, boolean inclusive)
           
AfterTimeLogEntryMatcher(String time, String format, boolean inclusive, LogEntryMatcher matcher)
           
AfterTimeLogEntryMatcher(String time, String format, LogEntryMatcher matcher)
           
 
Method Summary
protected  LogEntryMatcher.Operation filter(LogEntry entry)
          Should the operation be filtered or not.
 
Methods inherited from class com.gigaspaces.log.LogEntryMatcherFilter
entries, filterJustLogs, initialize, match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timestamp

protected long timestamp
Constructor Detail

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time,
                                boolean inclusive)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time,
                                String format)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time,
                                String format,
                                boolean inclusive)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time,
                                boolean inclusive,
                                LogEntryMatcher matcher)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time,
                                LogEntryMatcher matcher)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time,
                                String format,
                                LogEntryMatcher matcher)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(String time,
                                String format,
                                boolean inclusive,
                                LogEntryMatcher matcher)
                         throws ParseException
Throws:
ParseException

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(long timestamp)

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(long timestamp,
                                LogEntryMatcher matcher)

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(long timestamp,
                                boolean inclusive)

AfterTimeLogEntryMatcher

public AfterTimeLogEntryMatcher(long timestamp,
                                boolean inclusive,
                                LogEntryMatcher matcher)
Method Detail

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 10.0.1 API

Copyright © GigaSpaces.