public class PerImageIndicator
extends java.lang.Object
AtomicCounter
indicating a per PublicationImage
indication of presence for
CongestionControl
.Modifier and Type | Field and Description |
---|---|
static int |
PER_IMAGE_TYPE_ID
Type id of a per Image indicator.
|
Constructor and Description |
---|
PerImageIndicator() |
Modifier and Type | Method and Description |
---|---|
static org.agrona.concurrent.status.AtomicCounter |
allocate(org.agrona.MutableDirectBuffer tempBuffer,
java.lang.String name,
org.agrona.concurrent.status.CountersManager countersManager,
long registrationId,
int sessionId,
int streamId,
java.lang.String channel)
Allocate a per
PublicationImage indicator. |
public static final int PER_IMAGE_TYPE_ID
public static org.agrona.concurrent.status.AtomicCounter allocate(org.agrona.MutableDirectBuffer tempBuffer, java.lang.String name, org.agrona.concurrent.status.CountersManager countersManager, long registrationId, int sessionId, int streamId, java.lang.String channel)
PublicationImage
indicator.tempBuffer
- to be used for labels and key.name
- of the counter for the label.countersManager
- from which to allocated the underlying storage.registrationId
- to be associated with the counter.sessionId
- for the stream of messages.streamId
- for the stream of messages.channel
- for the stream of messages.AtomicCounter
for tracking the indicator.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.