ServiceConfig.WorkerConfigOrBuilder

antarmuka statis publik ServiceConfig.WorkerConfigOrBuilder
Subkelas Tidak Langsung yang Diketahui

Metode Publik

Tali abstrak
dapatkanDispatcherAddress ()
 The address of the dispatcher to register with.
abstrak com.google.protobuf.ByteString
dapatkanDispatcherAddressBytes ()
 The address of the dispatcher to register with.
abstrak panjang
dapatkanDispatcherTimeoutMs ()
 How long to retry requests to the dispatcher before giving up and reporting
 an error.
abstrak panjang
dapatkanHeartbeatIntervalMs ()
 How often the worker should heartbeat to the master.
abstrak panjang
dapatkanPort ()
 The port for the worker to bind to.
Tali abstrak
dapatkanProtokol ()
 The protocol for the worker to use when connecting to the dispatcher.
abstrak com.google.protobuf.ByteString
dapatkanProtocolBytes ()
 The protocol for the worker to use when connecting to the dispatcher.
Tali abstrak
dapatkan Alamat Pekerja ()
 The address of the worker server.
abstrak com.google.protobuf.ByteString
dapatkanWorkerAddressBytes ()
 The address of the worker server.

Metode Publik

String abstrak publik getDispatcherAddress ()

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

abstrak publik com.google.protobuf.ByteString getDispatcherAddressBytes ()

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

abstrak publik getDispatcherTimeoutMs panjang ()

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

abstrak publik get panjangHeartbeatIntervalMs ( )

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

getPort panjang abstrak publik ()

 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;

String abstrak publik getProtocol ()

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

abstrak publik com.google.protobuf.ByteString getProtocolBytes ()

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

String abstrak publik 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;

abstrak publik 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;