interfaccia statica pubblica ServiceConfig.WorkerConfigOrBuilder
Sottoclassi indirette conosciute |
Metodi pubblici
stringa astratta | getIndirizzoDispatcher () The address of the dispatcher to register with. |
astratto com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
astratto lungo | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
astratto lungo | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
astratto lungo | getPort () The port for the worker to bind to. |
stringa astratta | getProtocollo () The protocol for the worker to use when connecting to the dispatcher. |
astratto com.google.protobuf.ByteString | getProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
stringa astratta | getindirizzolavoratore () The address of the worker server. |
astratto com.google.protobuf.ByteString | getIndirizzoOperatoreBytes () The address of the worker server. |
Metodi pubblici
public abstract String getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
public abstract com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
public abstract lungo getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
pubblico astratto lungo getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
pubblico astratto lungo 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;
estratto pubblico String getProtocol ()
string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.= 2;
estratto pubblico com.google.protobuf.ByteString getProtocolBytes ()
string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.= 2;
abstract pubblico String 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;
estratto pubblico 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;