Class MultipleCriteriaFilter
- java.lang.Object
-
- com.ibm.websphere.logging.hpel.reader.filters.MultipleCriteriaFilter
-
- All Implemented Interfaces:
LogRecordFilter
public class MultipleCriteriaFilter extends java.lang.Object implements 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
Constructors Constructor Description MultipleCriteriaFilter(LogQueryBean logQueryBean)
construct the filter for the read API
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(RepositoryLogRecord record)
filter current record per criteria passed in.
-
-
-
Constructor Detail
-
MultipleCriteriaFilter
public MultipleCriteriaFilter(LogQueryBean logQueryBean)
construct the filter for the read API- Parameters:
logQueryBean
- bean/object with all query information
-
-
Method Detail
-
accept
public boolean accept(RepositoryLogRecord record)
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
-
-