सार्वजनिक स्थैतिक इंटरफ़ेस ServiceConfig.DispatcherConfigOrBuilder
ज्ञात अप्रत्यक्ष उपवर्ग |
सार्वजनिक तरीके
अमूर्त बूलियन | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
अमूर्त लंबा | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
अमूर्त लंबा | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
अमूर्त लंबा | गेटपोर्ट () The port for the dispatcher to bind to. |
सार स्ट्रिंग | प्रोटोकॉल प्राप्त करें () The protocol for the dispatcher to use when connecting to workers. |
सार com.google.protobuf.ByteString | getProtocolBytes () The protocol for the dispatcher to use when connecting to workers. |
सार स्ट्रिंग | गेटवर्कडिर () A work directory to use for storing dispatcher state, and for recovering during restarts. |
सार com.google.protobuf.ByteString | getWorkDirBytes () A work directory to use for storing dispatcher state, and for recovering during restarts. |
सार्वजनिक तरीके
सार्वजनिक सार बूलियन getFaultTolerantMode ()
Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. Requires that `work_dir` is nonempty.
bool fault_tolerant_mode = 4;
सार्वजनिक सार लंबा getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
सार्वजनिक सार लंबा getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
सार्वजनिक सार लंबा गेटपोर्ट ()
The port for the dispatcher to bind to. A value of 0 indicates that the dispatcher may bind to any available port.
int64 port = 1;
सार्वजनिक सार स्ट्रिंग getProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
सार्वजनिक सार com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
सार्वजनिक सार स्ट्रिंग getWorkDir ()
A work directory to use for storing dispatcher state, and for recovering during restarts. The empty string indicates not to use any work directory.
string work_dir = 3;
सार्वजनिक सार com.google.protobuf.ByteString getWorkDirBytes ()
A work directory to use for storing dispatcher state, and for recovering during restarts. The empty string indicates not to use any work directory.
string work_dir = 3;