public class NamespaceStats extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
ADD_LATENCY_BUCKET_KEYS |
long[] |
addLatencyBucket |
static String |
BRK_ADD_ENTRY_LATENCY_PREFIX |
int |
consumerCount |
double |
maxMsgReplDelayInSeconds |
double |
msgBacklog |
double |
msgRateIn |
double |
msgRateOut |
double |
msgReplBacklog |
double |
msgThroughputIn |
double |
msgThroughputOut |
int |
producerCount |
int |
replicatorCount |
double |
storageSize |
int |
subsCount |
| Constructor and Description |
|---|
NamespaceStats(int ratePeriodInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(long[] src,
long[] dest) |
org.apache.pulsar.common.stats.Metrics |
add(String namespace) |
static void |
clear(long[] list) |
void |
reset() |
public double msgRateIn
public double msgThroughputIn
public double msgRateOut
public double msgThroughputOut
public double storageSize
public double msgBacklog
public double msgReplBacklog
public double maxMsgReplDelayInSeconds
public int consumerCount
public int producerCount
public int replicatorCount
public int subsCount
public static final String BRK_ADD_ENTRY_LATENCY_PREFIX
public long[] addLatencyBucket
public static final String[] ADD_LATENCY_BUCKET_KEYS
public void reset()
public org.apache.pulsar.common.stats.Metrics add(String namespace)
public static void add(long[] src,
long[] dest)
public static void clear(long[] list)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.