ServiceConfig.WorkerConfigOrBuilder อินเทอร์เฟซแบบคงที่สาธารณะ
คลาสย่อยทางอ้อมที่รู้จัก |
วิธีการสาธารณะ
สตริงที่เป็นนามธรรม | getDispatcherที่อยู่ () The address of the dispatcher to register with. |
นามธรรม com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
ยาวเป็นนามธรรม | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
ยาวเป็นนามธรรม | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
ยาวเป็นนามธรรม | รับพอร์ต () The port for the worker to bind to. |
สตริงที่เป็นนามธรรม | รับโปรโตคอล () The protocol for the worker to use when connecting to the dispatcher. |
นามธรรม com.google.protobuf.ByteString | รับโปรโตคอลไบต์ () The protocol for the worker to use when connecting to the dispatcher. |
สตริงที่เป็นนามธรรม | getWorkerที่อยู่ () The address of the worker server. |
นามธรรม com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
วิธีการสาธารณะ
สตริงนามธรรมสาธารณะ getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
นามธรรมสาธารณะ com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
นามธรรมสาธารณะ getDispatcherTimeoutMs ยาว ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
นามธรรมสาธารณะ getHeartbeatIntervalMs ยาว ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
getPort ยาวนามธรรมสาธารณะ ()
The port for the worker to bind to. A value of 0 indicates that the worker may bind to any available port.
int64 port = 1;
สตริงนามธรรมสาธารณะ getProtocol ()
โปรโตคอลสตริง
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
นามธรรมสาธารณะ com.google.protobuf.ByteString getProtocolBytes ()
โปรโตคอลสตริง
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
สตริงนามธรรมสาธารณะ getWorkerAddress ()
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4;
นามธรรมสาธารณะ com.google.protobuf.ByteString getWorkerAddressBytes ()
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4;