Class MultipleCriteriaFilter
java.lang.Object
com.ibm.websphere.logging.hpel.reader.filters.MultipleCriteriaFilter
- All Implemented Interfaces:
LogRecordFilter
filter class for all remote reader functionality. Note that an attempt is made to do all heavy processing in the
constructor so that the per-record invocations go as quickly as possible.
-
Constructor Summary
ConstructorsConstructorDescriptionMultipleCriteriaFilter
(LogQueryBean logQueryBean) construct the filter for the read API -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(RepositoryLogRecord record) filter current record per criteria passed in.
-
Constructor Details
-
MultipleCriteriaFilter
construct the filter for the read API- Parameters:
logQueryBean
- bean/object with all query information
-
-
Method Details
-
accept
filter current record per criteria passed in. Date filtering done prior to filter invocation any failure of a criteria results in a false return (ie: don't accept record)- Specified by:
accept
in interfaceLogRecordFilter
- Parameters:
record
- RepositoryLogRecord to filter- Returns:
- true or false as to keeping this record
-