public class ThreadIDFilter extends java.lang.Object implements LogRecordHeaderFilter
LogRecordHeaderFilter interface for filtering out
records not written by a thread with a given thread ID.| Constructor and Description |
|---|
ThreadIDFilter(int threadID)
Creates a filter instance with a specified thread ID.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(RepositoryLogRecordHeader record)
Checks if record should be accepted into the list.
|
public ThreadIDFilter(int threadID)
threadID - ID that each record's thread ID will be compared topublic boolean accept(RepositoryLogRecordHeader record)
LogRecordHeaderFilteraccept in interface LogRecordHeaderFilterrecord - log record header to checktrue if record should be included in the list;
false otherwise.