public interface Subscribable
Modifier and Type | Method and Description |
---|---|
void |
addSubscriber(org.agrona.concurrent.status.ReadablePosition subscriberPosition)
Add a subscriber identified by its position.
|
void |
removeSubscriber(org.agrona.concurrent.status.ReadablePosition subscriberPosition)
Remove a subscriber identified by its position.
|
void addSubscriber(org.agrona.concurrent.status.ReadablePosition subscriberPosition)
subscriberPosition
- for tracking and identifying the subscriber.void removeSubscriber(org.agrona.concurrent.status.ReadablePosition subscriberPosition)
Note: The Subscribable
is responsible for calling ReadablePosition.close()
on
removed positions.
subscriberPosition
- to be identified by.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.