Package ai.vespa.metricsproxy.service
Class ConfigSentinelClient
java.lang.Object
com.yahoo.component.AbstractComponent
ai.vespa.metricsproxy.service.ConfigSentinelClient
- All Implemented Interfaces:
com.yahoo.component.Component,com.yahoo.component.Deconstructable,Comparable<com.yahoo.component.Component>
public class ConfigSentinelClient
extends com.yahoo.component.AbstractComponent
Connects to the config sentinel and gets information like pid for the services on the node
-
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidsetStatus(List<VespaService> services) Update the status (pid check etc)Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
-
Constructor Details
-
ConfigSentinelClient
@Inject public ConfigSentinelClient()
-
-
Method Details
-
deconstruct
public void deconstruct()- Specified by:
deconstructin interfacecom.yahoo.component.Deconstructable- Overrides:
deconstructin classcom.yahoo.component.AbstractComponent
-
setStatus
Update the status (pid check etc)- Parameters:
services- list of services- Throws:
Exception- if something went wrong
-