interface estática pública ServiceConfig.WorkerConfigOrBuilder
| Subclasses indiretas conhecidas |
Métodos Públicos
| String abstrata | getDispatcherAddress () The address of the dispatcher to register with. |
| abstract com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
| abstrato longo | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
| abstrato longo | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
| abstrato longo | getPort () The port for the worker to bind to. |
| String abstrata | getProtocol () The protocol for the worker to use when connecting to the dispatcher. |
| abstract com.google.protobuf.ByteString | getProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
| String abstrata | getWorkerAddress () The address of the worker server. |
| abstract com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
Métodos Públicos
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 long getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;public abstract long getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;public abstract long 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;public abstract String getProtocol ()
Protocolo de string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;public abstract com.google.protobuf.ByteString getProtocolBytes ()
Protocolo de string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;public abstract 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;public abstract 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;