| Package | Description |
|---|---|
| io.ray.api.runtime | |
| io.ray.api.runtimeenv |
| Modifier and Type | Method and Description |
|---|---|
RuntimeEnv |
RayRuntime.deserializeRuntimeEnv(String serializedRuntimeEnv)
Deserialize runtime env instance at runtime.
|
| Modifier and Type | Method and Description |
|---|---|
static RuntimeEnv |
RuntimeEnv.deserialize(String serializedRuntimeEnv)
Deserialize the runtime env from string.
|
<T> T |
RuntimeEnv.get(String name,
Class<T> classOfT)
Get the object of a runtime env field.
|
String |
RuntimeEnv.getJsonStr(String name)
Get the json string of a runtime env field.
|
boolean |
RuntimeEnv.remove(String name)
Remove a runtime env field by name.
|
String |
RuntimeEnv.serialize()
Serialize the runtime env to string.
|
String |
RuntimeEnv.serializeToRuntimeEnvInfo()
Serialize the runtime env to string of RuntimeEnvInfo.
|
void |
RuntimeEnv.set(String name,
Object value)
Set a runtime env field by name and Object.
|
void |
RuntimeEnv.setJsonStr(String name,
String jsonStr)
Set a runtime env field by name and json string.
|
Copyright © 2023. All rights reserved.