T
- event implementation storing the data for sharing during exchange or parallel coordination of an event.public interface WorkHandler<T>
RingBuffer
.WorkerPool
Modifier and Type | Method and Description |
---|---|
void |
onEvent(T event)
Callback to indicate a unit of work needs to be processed.
|
void onEvent(T event) throws java.lang.Exception
event
- published to the RingBuffer
java.lang.Exception
- if the WorkHandler
would like the exception handled further up the chain.Copyright © 2011 - 2018 LMAX Ltd. All Rights Reserved.