Package io.micronaut.grpc.server.health
Class HealthStatusManagerContainer
java.lang.Object
io.micronaut.grpc.server.health.HealthStatusManagerContainer
@Singleton
@Requires(classes=io.grpc.protobuf.services.HealthStatusManager.class) @Requires(property="grpc.server.health.enabled",value="true",defaultValue="true")
public class HealthStatusManagerContainer
extends Object
A container for the
HealthStatusManager
.- Since:
- 3.3.0
-
Constructor Summary
ConstructorDescriptionHealthStatusManagerContainer
(io.grpc.protobuf.services.HealthStatusManager healthStatusManager) -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.protobuf.services.HealthStatusManager
-
Constructor Details
-
HealthStatusManagerContainer
public HealthStatusManagerContainer(io.grpc.protobuf.services.HealthStatusManager healthStatusManager)
-
-
Method Details
-
getHealthStatusManager
public io.grpc.protobuf.services.HealthStatusManager getHealthStatusManager()- Returns:
- The
HealthStatusManager
-