genel statik son sınıf ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
İç İçe Sınıflar
sınıf | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. |
Sabitler
int | FAULT_TOLERANT_MODE_FIELD_NUMBER | |
int | JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER | |
int | JOB_GC_TIMEOUT_MS_FIELD_NUMBER | |
int | PORT_FIELD_NUMBER | |
int | PROTOCOL_FIELD_NUMBER | |
int | WORK_DIR_FIELD_NUMBER |
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
statik ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig | |
final statik com.google.protobuf.Descriptors.Descriptor | |
boolean | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
uzun | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
uzun | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
uzun | getPort () The port for the dispatcher to bind to. |
Sicim | getProtocol () 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. |
int | |
final com.google.protobuf.UnknownFieldSet | |
Sicim | 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. |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik ServiceConfig.DispatcherConfig.Builder | newBuilder ( ServiceConfig.DispatcherConfig prototipi) |
statik ServiceConfig.DispatcherConfig.Builder | yeniİnşaatçı () |
ServiceConfig.DispatcherConfig.Builder | |
statik ServiceConfig.DispatcherConfig | parseDelimitedFrom (InputStream girişi) |
statik ServiceConfig.DispatcherConfig | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.DispatcherConfig | parseFrom (ByteBuffer verileri) |
statik ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.DispatcherConfig | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.DispatcherConfig | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik ServiceConfig.DispatcherConfig | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.DispatcherConfig | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik ServiceConfig.DispatcherConfig | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
ServiceConfig.DispatcherConfig.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int FAULT_TOLERANT_MODE_FIELD_NUMBER
Sabit Değer: 4
genel statik final int JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
Sabit Değer: 5
genel statik final int JOB_GC_TIMEOUT_MS_FIELD_NUMBER
Sabit Değer: 6
genel statik final int PORT_FIELD_NUMBER
Sabit Değer: 1
genel statik final int PROTOCOL_FIELD_NUMBER
Sabit Değer: 2
genel statik final int WORK_DIR_FIELD_NUMBER
Sabit Değer: 3
Genel Yöntemler
genel boole eşittir (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
genel 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;
genel uzun getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
genel uzun getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
halk getParserForType ()
halka açık uzun 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;
genel Dize 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 ()
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel Dize 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;
genel int hashCode ()
genel final boolean isInitialized ()
genel statik ServiceConfig.DispatcherConfig.Builder newBuilder ( ServiceConfig.DispatcherConfig prototipi)
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (InputStream girişi)
Atar
IOİstisnası |
---|
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik ServiceConfig.DispatcherConfig parseFrom (ByteBuffer verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
public static ServiceConfig.DispatcherConfig parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IOİstisnası |
---|
genel statik ServiceConfig.DispatcherConfig parseFrom (bayt[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IOİstisnası |
---|