-
- Type Parameters:
T
- event implementation storing the data for sharing during exchange or parallel coordination of an event.
public interface EventFactory<T>
Called by theRingBuffer
to pre-populate all the events to fill the RingBuffer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
newInstance()
Implementations should instantiate an event object, with all memory already allocated where possible.
-
-
-
Method Detail
-
newInstance
T newInstance()
Implementations should instantiate an event object, with all memory already allocated where possible.- Returns:
- T newly constructed event instance.
-
-