public class PublisherLimit extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Human-readable name for the counter.
|
static int |
PUBLISHER_LIMIT_TYPE_ID
Type id of a publisher limit counter.
|
| Constructor and Description |
|---|
PublisherLimit() |
| Modifier and Type | Method and Description |
|---|---|
static UnsafeBufferPosition |
allocate(MutableDirectBuffer tempBuffer,
CountersManager countersManager,
long registrationId,
int sessionId,
int streamId,
String channel)
Allocate a new publisher limit counter for a stream.
|
public static final int PUBLISHER_LIMIT_TYPE_ID
public static final String NAME
public static UnsafeBufferPosition allocate(MutableDirectBuffer tempBuffer, CountersManager countersManager, long registrationId, int sessionId, int streamId, String channel)
tempBuffer - to build the label.countersManager - to allocate the counter from.registrationId - associated with the counter.sessionId - associated with the counter.streamId - associated with the counter.channel - associated with the counter.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.