Package com.gigaspaces.log
Class AllLogEntryMatcher
java.lang.Object
com.gigaspaces.log.AllLogEntryMatcher
- All Implemented Interfaces:
LogEntryMatcher,Serializable
A matcher that returns all the log entries. Use with caution, as this might lead to heavy
memory usage without wrapping it with a proper filter.
- Author:
- kimchy
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.log.LogEntryMatcher
LogEntryMatcher.InitializationContext, LogEntryMatcher.Operation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentries()Returns all the relevant entries this matcher accumulated.voidCalled on the loggable component side (server) before starting to traverse the log file.Controls if the traversal of the log file should continue, or break.
-
Constructor Details
-
AllLogEntryMatcher
public AllLogEntryMatcher()
-
-
Method Details
-
initialize
Description copied from interface:LogEntryMatcherCalled on the loggable component side (server) before starting to traverse the log file.- Specified by:
initializein interfaceLogEntryMatcher
-
entries
Description copied from interface:LogEntryMatcherReturns all the relevant entries this matcher accumulated.Note, for ease of use in implementing the matcher, the entries are assumed to be from newest to oldest (if the matcher value order).
- Specified by:
entriesin interfaceLogEntryMatcher
-
match
Description copied from interface:LogEntryMatcherControls if the traversal of the log file should continue, or break. If it should break, then all theLogEntryMatcher.entries()accumulated will be returned.- Specified by:
matchin interfaceLogEntryMatcher
-