mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 01:16:06 +08:00
[Java] Support direct actor call in Java worker (#5504)
This commit is contained in:
@@ -92,7 +92,8 @@ cdef extern from "ray/common/task/task_util.h" namespace "ray" nogil:
|
||||
|
||||
TaskSpecBuilder &SetActorCreationTaskSpec(
|
||||
const CActorID &actor_id, uint64_t max_reconstructions,
|
||||
const c_vector[c_string] &dynamic_worker_options)
|
||||
const c_vector[c_string] &dynamic_worker_options,
|
||||
c_bool is_direct_call)
|
||||
|
||||
TaskSpecBuilder &SetActorTaskSpec(
|
||||
const CActorID &actor_id, const CActorHandleID &actor_handle_id,
|
||||
|
||||
@@ -82,6 +82,7 @@ cdef class TaskSpec:
|
||||
actor_creation_id.native(),
|
||||
max_actor_reconstructions,
|
||||
[],
|
||||
False,
|
||||
)
|
||||
elif not actor_id.is_nil():
|
||||
# Actor task.
|
||||
|
||||
Reference in New Issue
Block a user