Class StreamsHealthIndicator
- java.lang.Object
-
- io.streamthoughts.azkarra.http.health.internal.StreamsHealthIndicator
-
- All Implemented Interfaces:
AzkarraContextAware
,HealthIndicator
public class StreamsHealthIndicator extends Object implements HealthIndicator, AzkarraContextAware
-
-
Constructor Summary
Constructors Constructor Description StreamsHealthIndicator()
Creates a newStreamsHealthIndicator
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Health
getHealth()
Gets the health for a service or sub-system.void
setAzkarraContext(AzkarraContext context)
Set theAzkarraContext
that this object runs in.
-
-
-
Constructor Detail
-
StreamsHealthIndicator
public StreamsHealthIndicator()
Creates a newStreamsHealthIndicator
instance.
-
-
Method Detail
-
getHealth
public Health getHealth()
Gets the health for a service or sub-system.- Specified by:
getHealth
in interfaceHealthIndicator
- Returns:
- a new
Health
instance.
-
setAzkarraContext
public void setAzkarraContext(AzkarraContext context)
Set theAzkarraContext
that this object runs in.- Specified by:
setAzkarraContext
in interfaceAzkarraContextAware
- Parameters:
context
- theAzkarraContext
instance.
-
-