public class DisruptorQueue.QueueMetrics extends Object
This inner class provides methods to access the metrics of the disruptor queue.
Constructor and Description |
---|
QueueMetrics() |
Modifier and Type | Method and Description |
---|---|
double |
arrivalRate() |
long |
capacity() |
void |
close() |
Object |
getState() |
void |
notifyArrivals(long counts) |
void |
notifyDepartures(long counts) |
long |
overflow() |
float |
pctFull() |
long |
population() |
long |
readPos() |
double |
sojournTime() |
long |
writePos() |
public long writePos()
public long readPos()
public long overflow()
public long population()
public long capacity()
public float pctFull()
public double arrivalRate()
public double sojournTime()
public Object getState()
public void notifyArrivals(long counts)
public void notifyDepartures(long counts)
public void close()
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.