ServiceConfig.WorkerConfigOrBuilder

giao diện tĩnh công cộng ServiceConfig.WorkerConfigOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

chuỗi trừu tượng
getDispatcherAddress ()
 The address of the dispatcher to register with.
tóm tắt com.google.protobuf.ByteString
getDispatcherAddressBytes ()
 The address of the dispatcher to register with.
trừu tượng dài
getDispatcherTimeoutMs ()
 How long to retry requests to the dispatcher before giving up and reporting
 an error.
trừu tượng dài
getHeartbeatIntervalMs ()
 How often the worker should heartbeat to the master.
trừu tượng dài
getPort ()
 The port for the worker to bind to.
chuỗi trừu tượng
getProtocol ()
 The protocol for the worker to use when connecting to the dispatcher.
tóm tắt com.google.protobuf.ByteString
getProtocolBytes ()
 The protocol for the worker to use when connecting to the dispatcher.
chuỗi trừu tượng
getWorkerAddress ()
 The address of the worker server.
tóm tắt com.google.protobuf.ByteString
getWorkerAddressBytes ()
 The address of the worker server.

Phương pháp công khai

chuỗi trừu tượng công khai getDispatcherAddress ()

 The address of the dispatcher to register with.
 
string dispatcher_address = 3;

tóm tắt công khai com.google.protobuf.ByteString getDispatcherAddressBytes ()

 The address of the dispatcher to register with.
 
string dispatcher_address = 3;

tóm tắt công khai dài getDispatcherTimeoutMs ()

 How long to retry requests to the dispatcher before giving up and reporting
 an error.
 
int64 dispatcher_timeout_ms = 6;

tóm tắt công khai dài getHeartbeatIntervalMs ()

 How often the worker should heartbeat to the master.
 
int64 heartbeat_interval_ms = 5;

getPort dài tóm tắt công khai ()

cổng

 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;

Chuỗi tóm tắt công khai getProtocol ()

giao thức chuỗi

 The protocol for the worker to use when connecting to the dispatcher.
 
string protocol = 2;

tóm tắt công khai com.google.protobuf.ByteString getProtocolBytes ()

giao thức chuỗi

 The protocol for the worker to use when connecting to the dispatcher.
 
string protocol = 2;

chuỗi tóm tắt công khai 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;

tóm tắt công khai 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;