공개 정적 인터페이스 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. |
| 추상적인 긴 | getPort () The port for the dispatcher to bind to. |
| 추상 문자열 | get프로토콜 () 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. |
| 추상 문자열 | getWorkDir () 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; 공개 추상 긴 getPort ()
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;