T - the type of the supplied objectpublic abstract class Operation<T>
extends java.lang.Object
implements reactor.fn.Supplier<T>
Operation represents the payload that gets (re) used in the processor.
The Operation itself gets allocated during creation time for the OperationBatcher, so at
runtime the instance will be reused. What changes during runtime is the enclosed payload.
In addition to the payload, the id represents the corresponding ID in the underlying
data structure (in the general case a com.lmax.disruptor.RingBuffer.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
id |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
commit()
Commit the
Operation to the underlying datastructure. |
T |
get()
Get the
Operation payload. |