パブリック静的インターフェイス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. |
抽象的な長い | getポート() 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. |
パブリックメソッド
public abstract boolean 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;
public abstract long 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;
パブリック抽象long 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;
public abstract String 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;
パブリック抽象 String 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;