mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 21:38:18 +08:00
[ID Refactor] Rename DriverID to JobID (#5004)
* WIP WIP WIP Rename Driver -> Job Fix complition Fix Rename in Java In py WIP Fix WIP Fix Fix test Fix Fix C++ linting Fix * Update java/runtime/src/main/java/org/ray/runtime/config/RayConfig.java Co-Authored-By: Stephanie Wang <swang@cs.berkeley.edu> * Update src/ray/core_worker/core_worker.cc Co-Authored-By: Stephanie Wang <swang@cs.berkeley.edu> * Address comments * Fix * Fix CI * Fix cpp linting * Fix py lint * FIx * Address comments and fix * Address comments * Address * Fix import_threading
This commit is contained in:
@@ -9,12 +9,9 @@ import org.ray.api.id.UniqueId;
|
||||
public interface RuntimeContext {
|
||||
|
||||
/**
|
||||
* Get the current Driver ID.
|
||||
*
|
||||
* If called in a driver, this returns the driver ID. If called in a worker, this returns the ID
|
||||
* of the associated driver.
|
||||
* Get the current Job ID.
|
||||
*/
|
||||
UniqueId getCurrentDriverId();
|
||||
UniqueId getCurrentJobId();
|
||||
|
||||
/**
|
||||
* Get the current actor ID.
|
||||
|
||||
Reference in New Issue
Block a user