You can look at the sequence number of the associated EventProcessor
to see if it has consumed the sequence of the event that you are
interested in. Sequence numbers are not updated until after the event
has been processed.
In order to be notified when a event has been processed then you will
need another concurrent structure to handle the notification, e.g.
another ring buffer.
Mike.
On Tue, Apr 30, 2013 at 9:47 AM, andys <
selvyo...@gmail.com> wrote:
> For example in the following situation:
>
> -Thread A adds an event e to a RingBuffer
> -e is processed on Thread B
> -Thread A wants to check and see if e has finished processing. Or be
> notified once e has finished processing.
>
> Is there a recommended way to do this?
>
> Thanks
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Disruptor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
lmax-disrupto...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>