kelas akhir statis publik ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
Kelas Bersarang
kelas | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. |
Konstanta
ke dalam | FAULT_TOLERANT_MODE_FIELD_NUMBER | |
ke dalam | JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER | |
ke dalam | JOB_GC_TIMEOUT_MS_FIELD_NUMBER | |
ke dalam | PORT_FIELD_NUMBER | |
ke dalam | PROTOCOL_FIELD_NUMBER | |
ke dalam | WORK_DIR_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
ServiceConfig.DispatcherConfig statis | |
ServiceConfig.DispatcherConfig | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
boolean | dapatkanFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
panjang | dapatkanJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
panjang | dapatkanJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
panjang | dapatkanPort () The port for the dispatcher to bind to. |
Rangkaian | dapatkanProtokol () The protocol for the dispatcher to use when connecting to workers. |
com.google.protobuf.ByteString | dapatkanProtocolBytes () The protocol for the dispatcher to use when connecting to workers. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
Rangkaian | dapatkanWorkDir () A work directory to use for storing dispatcher state, and for recovering during restarts. |
com.google.protobuf.ByteString | dapatkanWorkDirBytes () A work directory to use for storing dispatcher state, and for recovering during restarts. |
ke dalam | Kode hash () |
boolean terakhir | |
ServiceConfig.DispatcherConfig.Builder statis | newBuilder ( prototipe ServiceConfig.DispatcherConfig ) |
ServiceConfig.DispatcherConfig.Builder statis | |
ServiceConfig.DispatcherConfig.Builder | |
ServiceConfig.DispatcherConfig statis | parseDelimitedFrom (masukan Aliran Masukan) |
ServiceConfig.DispatcherConfig statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig statis | parseFrom (data ByteBuffer) |
ServiceConfig.DispatcherConfig statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
ServiceConfig.DispatcherConfig statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig statis | parseFrom (com.google.protobuf.ByteString data) |
ServiceConfig.DispatcherConfig statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
ServiceConfig.DispatcherConfig.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik FAULT_TOLERANT_MODE_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik JOB_GC_TIMEOUT_MS_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik PORT_FIELD_NUMBER
Nilai Konstan: 1
int final statis publik PROTOCOL_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik WORK_DIR_FIELD_NUMBER
Nilai Konstan: 3
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
boolean 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;
getJobGcCheckIntervalMs panjang publik ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
getJobGcTimeoutMs panjang publik ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
publik dapatkanParserForType ()
getPort panjang 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 publik getProtokol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
publik com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
String 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;
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;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
ServiceConfig.DispatcherConfig.Builder statis publik newBuilder ( prototipe ServiceConfig.DispatcherConfig )
ServiceConfig.DispatcherConfig parseDelimitedFrom statis publik (input InputStream)
Melempar
Pengecualian IO |
---|
ServiceConfig.DispatcherConfig parseDelimitedFrom statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ServiceConfig.DispatcherConfig parseFrom statis publik (data ByteBuffer)
Melempar
InvalidProtocolBufferException |
---|
ServiceConfig.DispatcherConfig parseFrom statis publik (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ServiceConfig.DispatcherConfig parseFrom statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
ServiceConfig.DispatcherConfig parseFrom statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
ServiceConfig.DispatcherConfig parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) statis publik
Melempar
InvalidProtocolBufferException |
---|
ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.ByteString data) statis publik
Melempar
InvalidProtocolBufferException |
---|
ServiceConfig.DispatcherConfig parseFrom statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ServiceConfig.DispatcherConfig parseFrom statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
Pengecualian IO |
---|