public class BeforeTimeLogEntryMatcher extends LogEntryMatcherFilter
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
protected LogEntryMatcher.Operation |
filter(LogEntry entry)
Should the operation be filtered or not.
|
protected boolean |
filterJustLogs()
Should this filter only filter log type entries.
|
entries, initialize, match
public BeforeTimeLogEntryMatcher(String time) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(String time, boolean inclusive) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(String time, String format) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(String time, String format, boolean inclusive) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(String time, boolean inclusive, LogEntryMatcher matcher) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(String time, LogEntryMatcher matcher) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(String time, String format, LogEntryMatcher matcher) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(String time, String format, boolean inclusive, LogEntryMatcher matcher) throws ParseException
ParseException
public BeforeTimeLogEntryMatcher(long timestamp)
public BeforeTimeLogEntryMatcher(long timestamp, LogEntryMatcher matcher)
public BeforeTimeLogEntryMatcher(long timestamp, boolean inclusive)
public BeforeTimeLogEntryMatcher(long timestamp, boolean inclusive, LogEntryMatcher matcher)
protected boolean filterJustLogs()
LogEntryMatcherFilter
true
.filterJustLogs
in class LogEntryMatcherFilter
protected LogEntryMatcher.Operation filter(LogEntry entry)
LogEntryMatcherFilter
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.filter
in class LogEntryMatcherFilter
Copyright © GigaSpaces.