com.gigaspaces.log
Class RegexLogEntryMatcher
java.lang.Object
   com.gigaspaces.log.LogEntryMatcherFilter
com.gigaspaces.log.LogEntryMatcherFilter
       com.gigaspaces.log.RegexLogEntryMatcher
com.gigaspaces.log.RegexLogEntryMatcher
- All Implemented Interfaces: 
- LogEntryMatcher, Serializable
- public class RegexLogEntryMatcher 
- extends LogEntryMatcherFilter
A log entry matcher filter that will match on log entries which match on the given
 regular expression.
- Author:
- kimchy
- See Also:
- Serialized Form
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RegexLogEntryMatcher
public RegexLogEntryMatcher(String regex)
RegexLogEntryMatcher
public RegexLogEntryMatcher(String regex,
                            LogEntryMatcher matcher)
regexFlags
public static int regexFlags()
- 
 
initialize
public void initialize(LogEntryMatcher.InitializationContext context)
                throws IOException
- Description copied from interface: LogEntryMatcher
- Called on the loggable component side (server) before starting to traverse the log file.
 
- 
- Specified by:
- initializein interface- LogEntryMatcher
- Overrides:
- initializein class- LogEntryMatcherFilter
 
- 
- Throws:
- IOException
 
filter
protected LogEntryMatcher.Operation filter(LogEntry entry)
- Description copied from class: LogEntryMatcherFilter
- Should 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 class- LogEntryMatcherFilter
 
- 
 
Copyright © GigaSpaces.