Class SystemInfoProvider

  • All Implemented Interfaces:
    com.yahoo.component.Component, com.yahoo.component.Deconstructable, com.yahoo.container.di.componentgraph.Provider<ai.vespa.cloud.SystemInfo>, Comparable<com.yahoo.component.Component>

    public class SystemInfoProvider
    extends com.yahoo.component.AbstractComponent
    implements com.yahoo.container.di.componentgraph.Provider<ai.vespa.cloud.SystemInfo>
    Provides information about the system in which this container is running. This is available and can be injected when running in a cloud environment.
    Author:
    bratseth
    • Field Summary

      • Fields inherited from class com.yahoo.component.AbstractComponent

        isDeconstructable
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemInfoProvider​(com.yahoo.cloud.config.ConfigserverConfig csConfig, com.yahoo.container.QrConfig qrConfig, com.yahoo.cloud.config.ClusterInfoConfig ciConfig, com.yahoo.cloud.config.ApplicationIdConfig applicationIdConfig)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ai.vespa.cloud.SystemInfo get()  
      • Methods inherited from class com.yahoo.component.AbstractComponent

        clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
      • Methods inherited from interface com.yahoo.component.Deconstructable

        deconstruct
    • Constructor Detail

      • SystemInfoProvider

        @Inject
        public SystemInfoProvider​(com.yahoo.cloud.config.ConfigserverConfig csConfig,
                                  com.yahoo.container.QrConfig qrConfig,
                                  com.yahoo.cloud.config.ClusterInfoConfig ciConfig,
                                  com.yahoo.cloud.config.ApplicationIdConfig applicationIdConfig)
    • Method Detail

      • get

        public ai.vespa.cloud.SystemInfo get()
        Specified by:
        get in interface com.yahoo.container.di.componentgraph.Provider<ai.vespa.cloud.SystemInfo>