Class EnvironmentVars

java.lang.Object
ai.timefold.solver.service.definition.internal.platform.EnvironmentVars

public class EnvironmentVars extends Object
  • Field Details

    • ENV_TIMEFOLD_JOB_ID

      public static final String ENV_TIMEFOLD_JOB_ID
      Identifier of the job to be used by runtime, data set stored with given identifier
      See Also:
    • ENV_TIMEFOLD_RUNTIME_TTL

      public static final String ENV_TIMEFOLD_RUNTIME_TTL
      duration (e.g. P2D) to keep the runtime instance active despite solving might have been already completed
      See Also:
    • ENV_TIMEFOLD_IDLE_RUNTIME_TTL

      public static final String ENV_TIMEFOLD_IDLE_RUNTIME_TTL
      duration (e.g. P2D) to keep the runtime instance active despite being idle to be able to process incoming requests
      See Also:
    • ENV_TIMEFOLD_ON_START_COMMAND

      public static final String ENV_TIMEFOLD_ON_START_COMMAND
      Provides hint to solver worker what operation is expected upon start
      See Also:
    • ENV_TIMEFOLD_PLAN_NAME

      public static final String ENV_TIMEFOLD_PLAN_NAME
      Plan name that is being used to run the job
      See Also:
    • ENV_TIMEFOLD_TENANT_NAME

      public static final String ENV_TIMEFOLD_TENANT_NAME
      Tenant name
      See Also:
    • ENV_TIMEFOLD_PLATFORM_MAP_SERVICE_LOCATION

      public static final String ENV_TIMEFOLD_PLATFORM_MAP_SERVICE_LOCATION
      Configured map-service location: either a concrete region (e.g. us-georgia) or the sentinel MAP_SERVICE_LOCATION_AUTO_SELECT for runtime region resolution.
      See Also:
    • MAP_SERVICE_LOCATION_AUTO_SELECT

      public static final String MAP_SERVICE_LOCATION_AUTO_SELECT
      Sentinel value for ENV_TIMEFOLD_PLATFORM_MAP_SERVICE_LOCATION: tells the maps-service to auto-select the region at request time based on the locations being routed.
      See Also:
    • K8S_INFO_NODE_NAME

      public static final String K8S_INFO_NODE_NAME
      Kubernetes API specific environment variables that are set based on execution information like pod and node
      See Also:
    • K8S_INFO_CPU_LIMIT

      public static final String K8S_INFO_CPU_LIMIT
      See Also:
    • K8S_INFO_MEMORY_LIMIT

      public static final String K8S_INFO_MEMORY_LIMIT
      See Also:
  • Constructor Details

    • EnvironmentVars

      public EnvironmentVars()