public class SubscriberPos extends Object
MediaDriver.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Human readable name for the counter.
|
static int |
SUBSCRIBER_POSITION_TYPE_ID
Type id of a subscriber position counter.
|
| Constructor and Description |
|---|
SubscriberPos() |
| Modifier and Type | Method and Description |
|---|---|
static UnsafeBufferPosition |
allocate(MutableDirectBuffer tempBuffer,
CountersManager countersManager,
long clientId,
long registrationId,
int sessionId,
int streamId,
String channel,
long joinPosition)
Allocate a new subscriber position counter for a stream.
|
public static final int SUBSCRIBER_POSITION_TYPE_ID
public static final String NAME
public static UnsafeBufferPosition allocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long clientId, long registrationId, int sessionId, int streamId, String channel, long joinPosition)
tempBuffer - to build the label.countersManager - to allocate the counter from.clientId - that owns the subscription.registrationId - associated with the counter.sessionId - associated with the counter.streamId - associated with the counter.channel - associated with the counter.joinPosition - for the stream.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.