Package com.gigaspaces.log
Class AfterTimeLogEntryMatcher
java.lang.Object
com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.AfterTimeLogEntryMatcher
- All Implemented Interfaces:
LogEntryMatcher,Serializable
A matcher filter that will match only on log entries that occurred after the specified time.
- Author:
- kimchy
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAfterTimeLogEntryMatcher(long timestamp) AfterTimeLogEntryMatcher(long timestamp, boolean inclusive) AfterTimeLogEntryMatcher(long timestamp, boolean inclusive, LogEntryMatcher matcher) AfterTimeLogEntryMatcher(long timestamp, LogEntryMatcher matcher) 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
Modifier and TypeMethodDescriptionprotected LogEntryMatcher.OperationShould the operation be filtered or not.Methods inherited from class com.gigaspaces.log.LogEntryMatcherFilter
entries, filterJustLogs, initialize, match
-
Field Details
-
timestamp
protected long timestamp
-
-
Constructor Details
-
AfterTimeLogEntryMatcher
- Throws:
ParseException
-
AfterTimeLogEntryMatcher
- Throws:
ParseException
-
AfterTimeLogEntryMatcher
- 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
- 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
-
AfterTimeLogEntryMatcher
public AfterTimeLogEntryMatcher(long timestamp, boolean inclusive) -
AfterTimeLogEntryMatcher
-
-
Method Details
-
filter
Description copied from class:LogEntryMatcherFilterShould the operation be filtered or not.LogEntryMatcher.Operation.BREAKin order to break and finish the matching process.LogEntryMatcher.Operation.IGNOREto ignore the current log entry (so it won't be passed to the delegated matcher). AndLogEntryMatcher.Operation.CONTINUEto pass the current log entry to the delegated matcher.- Specified by:
filterin classLogEntryMatcherFilter
-