@Requires(property="endpoints.health.mqtt.client.enabled",value="true") @Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class)
@Singleton
public class MqttHealthIndicator
extends java.lang.Object
implements io.micronaut.management.health.indicator.HealthIndicator
HealthIndicator for Mqtt Client.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
MqttHealthIndicator(org.eclipse.paho.client.mqttv3.MqttAsyncClient client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> |
getResult() |
public static final java.lang.String NAME