giao diện tĩnh công cộng ServiceConfig.DispatcherConfigOrBuilder
Các lớp con gián tiếp đã biết |
Phương pháp công khai
trừu tượng boolean | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
trừu tượng dài | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
trừu tượng dài | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
trừu tượng dài | getPort () The port for the dispatcher to bind to. |
chuỗi trừu tượng | getProtocol () The protocol for the dispatcher to use when connecting to workers. |
tóm tắt com.google.protobuf.ByteString | getProtocolBytes () The protocol for the dispatcher to use when connecting to workers. |
chuỗi trừu tượng | getWorkDir () A work directory to use for storing dispatcher state, and for recovering during restarts. |
tóm tắt com.google.protobuf.ByteString | getWorkDirBytes () A work directory to use for storing dispatcher state, and for recovering during restarts. |
Phương pháp công khai
boolean trừu tượng công khai 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;
tóm tắt công khai dài getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
tóm tắt công khai dài getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
getPort dài tóm tắt công khai ()
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;
Chuỗi tóm tắt công khai getProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
tóm tắt công khai com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
Chuỗi tóm tắt công khai 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;
tóm tắt công khai 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;