public class JCQueueMetrics extends Object implements Closeable
Constructor and Description |
---|
JCQueueMetrics(String metricNamePrefix,
String topologyId,
String componentId,
int taskId,
int port,
StormMetricRegistry metricRegistry,
org.apache.storm.shade.org.jctools.queues.MpscArrayQueue<Object> receiveQ,
org.apache.storm.shade.org.jctools.queues.MpscUnboundedArrayQueue<Object> overflowQ) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
notifyArrivals(long counts) |
void |
notifyDroppedMsg() |
void |
notifyInsertFailure() |
public JCQueueMetrics(String metricNamePrefix, String topologyId, String componentId, int taskId, int port, StormMetricRegistry metricRegistry, org.apache.storm.shade.org.jctools.queues.MpscArrayQueue<Object> receiveQ, org.apache.storm.shade.org.jctools.queues.MpscUnboundedArrayQueue<Object> overflowQ)
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.