Package cool.mqtt.jmx
Interface GlobalMqttStatusMBean
public interface GlobalMqttStatusMBean
One
GlobalMqttStatusMBean
instance exists in the system, to provide information on the
global activity of the server related to the end-to-end virtual connections between
MQTT.Cool clients and MQTT brokers. It is created at startup by the server
and lasts until the shutdown of the server.
GlobalMqttStatusMBean
name:
"cool.mqtt:type=GlobalMqttStatus"
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getBrokerConnections()
java.lang.Integer
getClientConnections()
java.lang.Long
getCumulDownstreamMessages()
java.lang.Long
getCumulUpstreamMessages()
java.lang.Integer
getDedicatedBrokerConnections()
java.lang.Double
getDownstreamMessageFrequency()
java.lang.Integer
getMaxBrokerConnections()
java.lang.Integer
getMaxClientConnections()
java.lang.Integer
getMaxDedicatedBrokerConnections()
java.lang.Double
getMaxDownstreamMessageFrequency()
java.lang.Integer
getMaxSharedBrokerConnections()
java.lang.Double
getMaxUpstreamMessageFrequency()
java.lang.Integer
getSharedBrokerConnections()
java.lang.Double
getUpstreamMessageFrequency()
-
Method Details
-
getCumulUpstreamMessages
java.lang.Long getCumulUpstreamMessages()- Returns:
- The total (cumulative) number of MQTT messages flowing from clients to MQTT brokers through the MQTT.Cool server.
-
getUpstreamMessageFrequency
java.lang.Double getUpstreamMessageFrequency()- Returns:
- The frequency of MQTT messages flowing from clients to MQTT brokers through the MQTT.Cool server, in the last sampling period. It is expressed as messages per second; the value has a three decimal precision.
-
getMaxUpstreamMessageFrequency
java.lang.Double getMaxUpstreamMessageFrequency()- Returns:
- The maximum frequency of MQTT messages flowing from clients to MQTT brokers through the MQTT.Cool server, reached in the life of the server. It is expressed as messages per second; the value has a three decimal precision.
-
getCumulDownstreamMessages
java.lang.Long getCumulDownstreamMessages()- Returns:
- The total (cumulative) number of MQTT messages flowing from MQTT brokers to clients through the MQTT.Cool server.
-
getDownstreamMessageFrequency
java.lang.Double getDownstreamMessageFrequency()- Returns:
- The frequency of MQTT messages flowing from MQTT brokers to clients through the MQTT.Cool server, in the last sampling period. It is expressed as messages per second; the value has a three decimal precision.
-
getMaxDownstreamMessageFrequency
java.lang.Double getMaxDownstreamMessageFrequency()- Returns:
- The maximum frequency of MQTT messages flowing from MQTT brokers to clients through the MQTT.Cool server, reached in the life of the server. It is expressed as messages per second; the value has a three decimal precision.
-
getClientConnections
java.lang.Integer getClientConnections()- Returns:
- The total number of clients currently connected to MQTT brokers through the MQTT.Cool server.
-
getMaxClientConnections
java.lang.Integer getMaxClientConnections()- Returns:
- The maximum total number of clients connected to MQTT brokers through the MQTT.Cool server, reached in the life of the server.
-
getDedicatedBrokerConnections
java.lang.Integer getDedicatedBrokerConnections()- Returns:
- The total number of dedicated connections currently established to MQTT brokers through the MQTT.Cool server.
-
getMaxDedicatedBrokerConnections
java.lang.Integer getMaxDedicatedBrokerConnections()- Returns:
- The maximum total number of dedicated connections established to MQTT brokers through the MQTT.Cool server, reached in the life of the server.
-
getBrokerConnections
java.lang.Integer getBrokerConnections()- Returns:
- The total number of broker connections (both shared and dedicated) currently established to MQTT brokers through the MQTT.Cool server.
-
getMaxBrokerConnections
java.lang.Integer getMaxBrokerConnections()- Returns:
- The maximum total number of broker connections (both shared and dedicated) established to MQTT brokers through the MQTT.Cool server, reached in the life of the server.
-