Interface EventFactory<T>

  • Type Parameters:
    T - event implementation storing the data for sharing during exchange or parallel coordination of an event.

    public interface EventFactory<T>
    Called by the RingBuffer to pre-populate all the events to fill the RingBuffer.
    • Method Detail

      • newInstance

        T newInstance()
        Implementations should instantiate an event object, with all memory already allocated where possible.
        Returns:
        T newly constructed event instance.