public class AgentControlIntegrationService extends AbstractService implements HealthDataChangeListener
logger| Constructor and Description |
|---|
AgentControlIntegrationService(AgentControlIntegrationHealthClient client,
AgentConfig agentConfig,
HealthDataProducer... healthProducers) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignEntityGuid(java.lang.String entityGuid) |
protected void |
doStart() |
protected void |
doStop() |
boolean |
isEnabled()
Is the service enabled.
|
void |
onHealthyStatus(AgentHealth.Category... categories) |
void |
onUnhealthyStatus(AgentHealth.Status newStatus,
java.lang.String... additionalInfo) |
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stoppublic AgentControlIntegrationService(AgentControlIntegrationHealthClient client, AgentConfig agentConfig, HealthDataProducer... healthProducers)
protected void doStart()
throws java.lang.Exception
doStart in class AbstractServicejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractServicejava.lang.Exceptionpublic boolean isEnabled()
Servicepublic void onUnhealthyStatus(AgentHealth.Status newStatus, java.lang.String... additionalInfo)
onUnhealthyStatus in interface HealthDataChangeListenerpublic void onHealthyStatus(AgentHealth.Category... categories)
onHealthyStatus in interface HealthDataChangeListenerpublic void assignEntityGuid(java.lang.String entityGuid)
assignEntityGuid in interface HealthDataChangeListener