antarmuka statis publik ServiceConfig.DispatcherConfigOrBuilder
Subkelas Tidak Langsung yang Diketahui |
Metode Publik
boolean abstrak | dapatkanFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
abstrak panjang | dapatkanJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
abstrak panjang | dapatkanJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
abstrak panjang | dapatkanPort () The port for the dispatcher to bind to. |
Tali abstrak | dapatkanProtokol () The protocol for the dispatcher to use when connecting to workers. |
abstrak com.google.protobuf.ByteString | dapatkanProtocolBytes () The protocol for the dispatcher to use when connecting to workers. |
Tali abstrak | dapatkanWorkDir () A work directory to use for storing dispatcher state, and for recovering during restarts. |
abstrak com.google.protobuf.ByteString | dapatkanWorkDirBytes () A work directory to use for storing dispatcher state, and for recovering during restarts. |
Metode Publik
boolean abstrak publik 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;
abstrak publik getJobGcCheckIntervalMs panjang ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
abstrak publik getJobGcTimeoutMs panjang ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
getPort panjang abstrak publik ()
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;
String abstrak publik getProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
abstrak publik com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
String abstrak publik 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;
abstrak publik 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;