Class MultipleCriteriaFilter

java.lang.Object
com.ibm.websphere.logging.hpel.reader.filters.MultipleCriteriaFilter
All Implemented Interfaces:
LogRecordFilter

public class MultipleCriteriaFilter extends 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 Details

    • MultipleCriteriaFilter

      public MultipleCriteriaFilter(LogQueryBean logQueryBean)
      construct the filter for the read API
      Parameters:
      logQueryBean - bean/object with all query information
  • Method Details

    • 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 interface LogRecordFilter
      Parameters:
      record - RepositoryLogRecord to filter
      Returns:
      true or false as to keeping this record