com.gigaspaces.log
Class BeforeTimeLogEntryMatcher
java.lang.Object
com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.BeforeTimeLogEntryMatcher
- All Implemented Interfaces:
- LogEntryMatcher, Serializable
public class BeforeTimeLogEntryMatcher
- extends LogEntryMatcherFilter
A matcher filter that will match only on log entries that occurred before the specified time.
- Author:
- kimchy
- See Also:
- Serialized Form
Constructor Summary |
BeforeTimeLogEntryMatcher(long timestamp)
|
BeforeTimeLogEntryMatcher(long timestamp,
boolean inclusive)
|
BeforeTimeLogEntryMatcher(long timestamp,
boolean inclusive,
LogEntryMatcher matcher)
|
BeforeTimeLogEntryMatcher(long timestamp,
LogEntryMatcher matcher)
|
BeforeTimeLogEntryMatcher(String time)
|
BeforeTimeLogEntryMatcher(String time,
boolean inclusive)
|
BeforeTimeLogEntryMatcher(String time,
boolean inclusive,
LogEntryMatcher matcher)
|
BeforeTimeLogEntryMatcher(String time,
LogEntryMatcher matcher)
|
BeforeTimeLogEntryMatcher(String time,
String format)
|
BeforeTimeLogEntryMatcher(String time,
String format,
boolean inclusive)
|
BeforeTimeLogEntryMatcher(String time,
String format,
boolean inclusive,
LogEntryMatcher matcher)
|
BeforeTimeLogEntryMatcher(String time,
String format,
LogEntryMatcher matcher)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time,
boolean inclusive)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time,
String format)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time,
String format,
boolean inclusive)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time,
boolean inclusive,
LogEntryMatcher matcher)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time,
LogEntryMatcher matcher)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time,
String format,
LogEntryMatcher matcher)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(String time,
String format,
boolean inclusive,
LogEntryMatcher matcher)
throws ParseException
- Throws:
ParseException
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(long timestamp)
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(long timestamp,
LogEntryMatcher matcher)
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(long timestamp,
boolean inclusive)
BeforeTimeLogEntryMatcher
public BeforeTimeLogEntryMatcher(long timestamp,
boolean inclusive,
LogEntryMatcher matcher)
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
Copyright © GigaSpaces.