public class JCQueue.QueueMetrics extends Object implements Closeable
This inner class provides methods to access the metrics of the JCQueue.
Constructor and Description |
---|
QueueMetrics() |
Modifier and Type | Method and Description |
---|---|
long |
capacity() |
void |
close() |
Object |
getState() |
void |
notifyArrivals(long counts) |
void |
notifyDroppedMsg() |
void |
notifyInsertFailure() |
long |
population() |
public long population()
public long capacity()
public Object getState()
public void notifyArrivals(long counts)
public void notifyInsertFailure()
public void notifyDroppedMsg()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2022 The Apache Software Foundation. All rights reserved.