Package ai.vespa.cloud
Class ZoneInfo
java.lang.Object
ai.vespa.cloud.ZoneInfo
Provides information about the zone context in which this container is running.
This is available and can be injected when running in a cloud environment.
If you don't need any other information than what's present here this should be preferred
to SystemInfo as it will never change at runtime and therefore does not
cause unnecessary reconstruction.
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ZoneInfo
-
-
Method Details
-
application
Returns the application this is running as part of -
zone
Returns the zone this is running in -
defaultInfo
Returns the info instance used when no zone info is available because we're not running in a cloud context
-