com.lmax.disruptor.WorkHandler<T>
Callback interface to be implemented for processing units of work as they become available in the RingBuffer.
EventHandler和该接口的区别是WorkHandler的概念是基于worker的处理池
Type Parameters:
<T> event implementation storing the data for sharing during exchange or parallel coordination of an event.
See Also:
WorkerPool
--->>
com.lmax.disruptor.WorkerPool<T>
WorkerPool contains a pool of WorkProcessors that will consume sequences so jobs can be farmed out across a pool of workers. Each of the WorkProcessors manage and cal