public static Final class ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig ネストされたクラス
| クラス | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. | |
定数
| 整数 | FAULT_TOLERANT_MODE_FIELD_NUMBER | |
| 整数 | JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER | |
| 整数 | JOB_GC_TIMEOUT_MS_FIELD_NUMBER | |
| 整数 | PORT_FIELD_NUMBER | |
| 整数 | PROTOCOL_FIELD_NUMBER | |
| 整数 | WORK_DIR_FIELD_NUMBER |
パブリックメソッド
| ブール値 | 等しい(オブジェクトオブジェクト) |
| 静的ServiceConfig.DispatcherConfig | |
| ServiceConfig.DispatcherConfig | |
| 最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
| ブール値 | 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. |
| 整数 | |
| 最終的な com.google.protobuf.UnknownFieldSet | |
| 弦 | 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. |
| 整数 | ハッシュコード() |
| 最終ブール値 | |
| 静的ServiceConfig.DispatcherConfig.Builder | newBuilder ( ServiceConfig.DispatcherConfigプロトタイプ) |
| 静的ServiceConfig.DispatcherConfig.Builder | newBuilder () |
| ServiceConfig.DispatcherConfig.Builder | |
| 静的ServiceConfig.DispatcherConfig | parseDelimitedFrom (InputStream 入力) |
| 静的ServiceConfig.DispatcherConfig | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (ByteBuffer データ) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.CodedInputStream 入力) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.ByteString データ) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 静的 | パーサー() |
| ServiceConfig.DispatcherConfig.Builder | toビルダー() |
| 空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数FAULT_TOLERANT_MODE_FIELD_NUMBER
定数値: 4
public static Final int JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
定数値: 5
public static Final int JOB_GC_TIMEOUT_MS_FIELD_NUMBER
定数値: 6
パブリック静的最終整数PORT_FIELD_NUMBER
定数値: 1
パブリック静的最終整数PROTOCOL_FIELD_NUMBER
定数値: 2
パブリック静的最終整数WORK_DIR_FIELD_NUMBER
定数値: 3
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public 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 long getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5; public long getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6; 公共 getParserForType ()
public 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 String getProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2; public com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2; public int getSerializedSize ()
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
パブリック 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; public 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; public int hashCode ()
パブリック最終ブール値isInitialized ()
public static ServiceConfig.DispatcherConfig.Builder newBuilder ( ServiceConfig.DispatcherConfigプロトタイプ)
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.CodedInputStream 入力)
投げる
| IO例外 |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.ByteString データ)
投げる
| 無効なプロトコルバッファ例外 |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 |
|---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
| IO例外 |
|---|