Class SystemInfo


  • public class SystemInfo
    extends java.lang.Object
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemInfo​(Zone zone)
      Create an instance for testing
      SystemInfo​(com.yahoo.cloud.config.ConfigserverConfig config)
      Do not use
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Zone zone()
      Returns the zone this is running in
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SystemInfo

        @Inject
        public SystemInfo​(com.yahoo.cloud.config.ConfigserverConfig config)
        Do not use
      • SystemInfo

        public SystemInfo​(Zone zone)
        Create an instance for testing
    • Method Detail

      • zone

        public Zone zone()
        Returns the zone this is running in