الواجهة العامة الثابتة ServiceConfig.WorkerConfigOrBuilder
الفئات الفرعية غير المباشرة المعروفة |
الأساليب العامة
سلسلة مجردة | الحصول على عنوان المرسل () The address of the dispatcher to register with. |
مجردة com.google.protobuf.ByteString | الحصول على DispatcherAddressBytes () The address of the dispatcher to register with. |
مجردة طويلة | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
مجردة طويلة | الحصول على HeartbeatIntervalMs () How often the worker should heartbeat to the master. |
مجردة طويلة | الحصول على المنفذ () The port for the worker to bind to. |
سلسلة مجردة | بروتوكول الحصول على () The protocol for the worker to use when connecting to the dispatcher. |
مجردة com.google.protobuf.ByteString | الحصول على بروتوكول بايت () The protocol for the worker to use when connecting to the dispatcher. |
سلسلة مجردة | الحصول على عنوان العمل () The address of the worker server. |
مجردة com.google.protobuf.ByteString | الحصول على WorkerAddressBytes () The address of the worker server. |
الأساليب العامة
سلسلة مجردة عامة getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
الملخص العام com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
ملخص عام طويل getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
ملخص عام طويل getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
ملخص عام طويل 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;
سلسلة getProtocol () مجردة عامة
بروتوكول سلسلة
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
الملخص العام com.google.protobuf.ByteString getProtocolBytes ()
بروتوكول سلسلة
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
سلسلة مجردة عامة 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;
الملخص العام 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;