|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gigaspaces.log.ContinuousLogEntryMatcher
public class ContinuousLogEntryMatcher
A reusable matcher (not thread safe) which accepts a matcher that returns the log entries for the
first call, and for any other call, a AfterEntryLogEntryMatcher will be
used with the last log entry returned.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher |
|---|
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation |
| Constructor Summary | |
|---|---|
ContinuousLogEntryMatcher(LogEntryMatcher initialMatcher,
LogEntryMatcher continousMatcher)
|
|
| Method Summary | |
|---|---|
LogEntries |
clientSideProcess(LogEntries entries)
Process the log entries and use the resulted entries. |
List<LogEntry> |
entries()
Returns all the relevant entries this matcher accumulated. |
void |
initialize(LogEntryMatcher.InitializationContext context)
Called on the loggable component side (server) before starting to traverse the log file. |
LogEntryMatcher.Operation |
match(LogEntry entry)
Controls if the traversal of the log file should continue, or break. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContinuousLogEntryMatcher(LogEntryMatcher initialMatcher,
LogEntryMatcher continousMatcher)
| Method Detail |
|---|
public void initialize(LogEntryMatcher.InitializationContext context)
throws IOException
LogEntryMatcher
initialize in interface LogEntryMatcherIOExceptionpublic List<LogEntry> entries()
LogEntryMatcherNote, for ease of use in implementing the matcher, the entries are assumed to be from newest to oldest (if the matcher value order).
entries in interface LogEntryMatcherpublic LogEntryMatcher.Operation match(LogEntry entry)
LogEntryMatcherLogEntryMatcher.entries() accumulated will be returned.
match in interface LogEntryMatcherpublic LogEntries clientSideProcess(LogEntries entries)
ClientLogEntryMatcherCallback
clientSideProcess in interface ClientLogEntryMatcherCallback
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||