Class ThreadIDFilter
- java.lang.Object
-
- com.ibm.websphere.logging.hpel.reader.filters.ThreadIDFilter
-
- All Implemented Interfaces:
LogRecordHeaderFilter
public class ThreadIDFilter extends java.lang.Object implements LogRecordHeaderFilter
Implementation of theLogRecordHeaderFilterinterface for filtering out records not written by a thread with a given thread ID.
-
-
Constructor Summary
Constructors Constructor Description ThreadIDFilter(int threadID)Creates a filter instance with a specified thread ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(RepositoryLogRecordHeader record)Checks if record should be accepted into the list.
-
-
-
Method Detail
-
accept
public boolean accept(RepositoryLogRecordHeader record)
Description copied from interface:LogRecordHeaderFilterChecks if record should be accepted into the list.- Specified by:
acceptin interfaceLogRecordHeaderFilter- Parameters:
record- log record header to check- Returns:
trueif record should be included in the list;falseotherwise.
-
-