Class WorkQueue.WorkUnitWrapper<T>
java.lang.Object
nonapi.io.github.classgraph.concurrency.WorkQueue.WorkUnitWrapper<T>
- Type Parameters:
T
- the generic type
A wrapper for work units (needed to send a poison pill as a null value, since BlockingQueue does not accept
null values).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
workUnit
The work unit.
-
-
Constructor Details
-
WorkUnitWrapper
Constructor.- Parameters:
workUnit
- the work unit, or null to represent a poison pill.
-