public class NoOpMetricsCollector extends Object implements MetricsCollector
Constructor and Description |
---|
NoOpMetricsCollector() |
Modifier and Type | Method and Description |
---|---|
void |
basicAck(Channel channel,
long deliveryTag,
boolean multiple) |
void |
basicCancel(Channel channel,
String consumerTag) |
void |
basicConsume(Channel channel,
String consumerTag,
boolean autoAck) |
void |
basicNack(Channel channel,
long deliveryTag) |
void |
basicPublish(Channel channel) |
void |
basicPublishAck(Channel channel,
long deliveryTag,
boolean multiple) |
void |
basicPublishFailure(Channel channel,
Throwable cause) |
void |
basicPublishNack(Channel channel,
long deliveryTag,
boolean multiple) |
void |
basicPublishUnrouted(Channel channel) |
void |
basicReject(Channel channel,
long deliveryTag) |
void |
closeChannel(Channel channel) |
void |
closeConnection(Connection connection) |
void |
consumedMessage(Channel channel,
long deliveryTag,
boolean autoAck) |
void |
consumedMessage(Channel channel,
long deliveryTag,
String consumerTag) |
void |
newChannel(Channel channel) |
void |
newConnection(Connection connection) |
public void newConnection(Connection connection)
newConnection
in interface MetricsCollector
public void closeConnection(Connection connection)
closeConnection
in interface MetricsCollector
public void newChannel(Channel channel)
newChannel
in interface MetricsCollector
public void closeChannel(Channel channel)
closeChannel
in interface MetricsCollector
public void basicAck(Channel channel, long deliveryTag, boolean multiple)
basicAck
in interface MetricsCollector
public void basicNack(Channel channel, long deliveryTag)
basicNack
in interface MetricsCollector
public void basicReject(Channel channel, long deliveryTag)
basicReject
in interface MetricsCollector
public void basicConsume(Channel channel, String consumerTag, boolean autoAck)
basicConsume
in interface MetricsCollector
public void basicCancel(Channel channel, String consumerTag)
basicCancel
in interface MetricsCollector
public void basicPublish(Channel channel)
basicPublish
in interface MetricsCollector
public void basicPublishFailure(Channel channel, Throwable cause)
basicPublishFailure
in interface MetricsCollector
public void basicPublishAck(Channel channel, long deliveryTag, boolean multiple)
basicPublishAck
in interface MetricsCollector
public void basicPublishNack(Channel channel, long deliveryTag, boolean multiple)
basicPublishNack
in interface MetricsCollector
public void basicPublishUnrouted(Channel channel)
basicPublishUnrouted
in interface MetricsCollector
public void consumedMessage(Channel channel, long deliveryTag, boolean autoAck)
consumedMessage
in interface MetricsCollector
public void consumedMessage(Channel channel, long deliveryTag, String consumerTag)
consumedMessage
in interface MetricsCollector
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.