mirror of
https://github.com/wassname/ray.git
synced 2026-07-09 11:43:56 +08:00
[Refactor] Rename ClientId to NodeId (#10992)
* rename ClientId to NodeId * format lint * format lint * fix conflicts * rename new ClientId to NodeId * update lint * make same version of clang-format with travis ci
This commit is contained in:
@@ -14,7 +14,7 @@ from libcpp.vector cimport vector as c_vector
|
||||
from ray.includes.unique_ids cimport (
|
||||
CActorID,
|
||||
CActorCheckpointID,
|
||||
CClientID,
|
||||
CNodeID,
|
||||
CJobID,
|
||||
CTaskID,
|
||||
CObjectID,
|
||||
@@ -121,7 +121,7 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
|
||||
|
||||
CJobID GetCurrentJobId()
|
||||
CTaskID GetCurrentTaskId()
|
||||
CClientID GetCurrentNodeId()
|
||||
CNodeID GetCurrentNodeId()
|
||||
CPlacementGroupID GetCurrentPlacementGroupId()
|
||||
const CActorID &GetActorId()
|
||||
void SetActorTitle(const c_string &title)
|
||||
@@ -196,7 +196,7 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
|
||||
const CActorID &actor_id, const CActorCheckpointID &checkpoint_id)
|
||||
CRayStatus SetResource(const c_string &resource_name,
|
||||
const double capacity,
|
||||
const CClientID &client_Id)
|
||||
const CNodeID &client_Id)
|
||||
CRayStatus SpillObjects(const c_vector[CObjectID] &object_ids)
|
||||
CRayStatus ForceRestoreSpilledObjects(
|
||||
const c_vector[CObjectID] &object_ids)
|
||||
|
||||
Reference in New Issue
Block a user