public interface RuntimeContext
| Modifier and Type | Method and Description |
|---|---|
List<NodeInfo> |
getAllNodeInfo()
Get all node information in Ray cluster.
|
ActorId |
getCurrentActorId()
Get the current actor ID.
|
JobId |
getCurrentJobId()
Get the current Job ID.
|
String |
getObjectStoreSocketName()
Get the object store socket name.
|
String |
getRayletSocketName()
Get the raylet socket name.
|
boolean |
isSingleProcess()
Return true if Ray is running in single-process mode, false if Ray is running in cluster mode.
|
boolean |
wasCurrentActorRestarted()
Returns true if the current actor was restarted, false if it's created for the first time.
|
JobId getCurrentJobId()
ActorId getCurrentActorId()
boolean wasCurrentActorRestarted()
String getRayletSocketName()
String getObjectStoreSocketName()
boolean isSingleProcess()
Copyright © 2020. All rights reserved.