Class EnvironmentVars
java.lang.Object
ai.timefold.solver.service.definition.internal.platform.EnvironmentVars
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringduration (e.g.static final StringIdentifier of the job to be used by runtime, data set stored with given identifierstatic final StringProvides hint to solver worker what operation is expected upon startstatic final StringPlan name that is being used to run the jobstatic final StringConfigured map-service location: either a concrete region (e.g.static final Stringduration (e.g.static final StringTenant namestatic final Stringstatic final Stringstatic final StringKubernetes API specific environment variables that are set based on execution information like pod and nodestatic final StringSentinel value forENV_TIMEFOLD_PLATFORM_MAP_SERVICE_LOCATION: tells the maps-service to auto-select the region at request time based on the locations being routed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
duration (e.g. P2D) to keep the runtime instance active despite solving might have been already completed- See Also:
-
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
Provides hint to solver worker what operation is expected upon start- See Also:
-
ENV_TIMEFOLD_PLAN_NAME
Plan name that is being used to run the job- See Also:
-
ENV_TIMEFOLD_TENANT_NAME
-
ENV_TIMEFOLD_PLATFORM_MAP_SERVICE_LOCATION
Configured map-service location: either a concrete region (e.g.us-georgia) or the sentinelMAP_SERVICE_LOCATION_AUTO_SELECTfor runtime region resolution.- See Also:
-
MAP_SERVICE_LOCATION_AUTO_SELECT
Sentinel value forENV_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
Kubernetes API specific environment variables that are set based on execution information like pod and node- See Also:
-
K8S_INFO_CPU_LIMIT
- See Also:
-
K8S_INFO_MEMORY_LIMIT
- See Also:
-
-
Constructor Details
-
EnvironmentVars
public EnvironmentVars()
-