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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    Update the status (pid check etc)

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ConfigSentinelClient

      @Inject public ConfigSentinelClient()
  • Method Details

    • deconstruct

      public void deconstruct()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable
      Overrides:
      deconstruct in class com.yahoo.component.AbstractComponent
    • setStatus

      protected void setStatus(List<VespaService> services) throws Exception
      Update the status (pid check etc)
      Parameters:
      services - list of services
      Throws:
      Exception - if something went wrong