blob: 0ac9386127591d5cdb40d8a0829475fb095de021 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.cloud;
/**
* 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
*/
public class SystemInfo {
private final Zone zone;
public SystemInfo(Zone zone) {
this.zone = zone;
}
/** Returns the zone this is running in */
public Zone zone() { return zone; }
}
|