interface statique publique ServiceConfig.WorkerConfigOrBuilder
Sous-classes indirectes connues |
Méthodes publiques
chaîne abstraite | getDispatcherAddress () The address of the dispatcher to register with. |
résumé com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
abstrait long | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
abstrait long | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
abstrait long | obtenirPort () The port for the worker to bind to. |
chaîne abstraite | getProtocole () The protocol for the worker to use when connecting to the dispatcher. |
résumé com.google.protobuf.ByteString | getProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
chaîne abstraite | getWorkerAddress () The address of the worker server. |
résumé com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
Méthodes publiques
chaîne abstraite publique getDispatcherAddress ()
chaîne
The address of the dispatcher to register with.
string dispatcher_address = 3;
résumé public com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
public abstrait long getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
public abstrait long getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public abstrait 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;
chaîne abstraite publique getProtocol ()
protocole de chaîne
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
résumé public com.google.protobuf.ByteString getProtocolBytes ()
protocole de chaîne
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
chaîne abstraite publique 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;
résumé public 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;