89 lines
2.3 KiB
Cython
89 lines
2.3 KiB
Cython
from libcpp cimport bool as c_bool
|
|
from libc.stdint cimport int64_t, uint64_t, uint32_t
|
|
from libcpp.string cimport string as c_string
|
|
from libcpp.unordered_map cimport unordered_map
|
|
|
|
|
|
cdef extern from "ray/common/ray_config.h" nogil:
|
|
cdef cppclass RayConfig "RayConfig":
|
|
@staticmethod
|
|
RayConfig &instance()
|
|
|
|
void initialize(const c_string& config_list)
|
|
|
|
int64_t ray_cookie() const
|
|
|
|
int64_t handler_warning_timeout_ms() const
|
|
|
|
int64_t debug_dump_period_milliseconds() const
|
|
|
|
int64_t object_timeout_milliseconds() const
|
|
|
|
int64_t raylet_client_num_connect_attempts() const
|
|
|
|
int64_t raylet_client_connect_timeout_milliseconds() const
|
|
|
|
int64_t kill_worker_timeout_milliseconds() const
|
|
|
|
int64_t worker_register_timeout_seconds() const
|
|
|
|
int64_t redis_db_connect_retries()
|
|
|
|
int64_t redis_db_connect_wait_milliseconds() const
|
|
|
|
int object_manager_pull_timeout_ms() const
|
|
|
|
int object_manager_push_timeout_ms() const
|
|
|
|
uint32_t maximum_gcs_deletion_batch_size() const
|
|
|
|
int64_t max_direct_call_object_size() const
|
|
|
|
int64_t task_rpc_inlined_bytes_limit() const
|
|
|
|
uint64_t metrics_report_interval_ms() const
|
|
|
|
c_bool enable_timeline() const
|
|
|
|
uint32_t max_grpc_message_size() const
|
|
|
|
c_bool record_ref_creation_sites() const
|
|
|
|
c_string REDIS_CA_CERT() const
|
|
|
|
c_string REDIS_CA_PATH() const
|
|
|
|
c_string REDIS_CLIENT_CERT() const
|
|
|
|
c_string REDIS_CLIENT_KEY() const
|
|
|
|
c_string REDIS_SERVER_NAME() const
|
|
|
|
int64_t health_check_initial_delay_ms() const
|
|
|
|
int64_t health_check_period_ms() const
|
|
|
|
int64_t health_check_timeout_ms() const
|
|
|
|
int64_t health_check_failure_threshold() const
|
|
|
|
int64_t grpc_client_keepalive_time_ms() const
|
|
|
|
int64_t grpc_client_keepalive_timeout_ms() const
|
|
|
|
c_bool enable_autoscaler_v2() const
|
|
|
|
c_string predefined_unit_instance_resources() const
|
|
|
|
c_string custom_unit_instance_resources() const
|
|
|
|
int64_t nums_py_gcs_reconnect_retry() const
|
|
|
|
int64_t py_gcs_connect_timeout_s() const
|
|
|
|
int maximum_gcs_destroyed_actor_cached_count() const
|
|
|
|
c_bool record_task_actor_creation_sites() const
|
|
|
|
c_bool start_python_gc_manager_thread() const
|