Class RuntimeUtils (2.0.0)

public class RuntimeUtils

Inheritance

java.lang.Object > RuntimeUtils

Static Fields

MAX_USER_API_CALL_WAIT_MS

public static final long MAX_USER_API_CALL_WAIT_MS
Field Value
Type Description
long

ONE_DAY_IN_MILLIS

public static final long ONE_DAY_IN_MILLIS
Field Value
Type Description
long

Static Methods

getApiServerAddress()

public static String getApiServerAddress()

Returns the host:port of the API server.

Returns
Type Description
String

If environment variables API_HOST or API_PORT port are set the host and/or port is calculated from them. Otherwise the default host:port is used.

Constructors

RuntimeUtils()

public RuntimeUtils()