classe finale statica pubblica ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig Classi nidificate
| classe | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. | |
Costanti
| 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 | LAVORO_DIR_CAMPO_NUMERO |
Metodi pubblici
| booleano | è uguale a (Oggetto oggetto) |
| ServiceConfig.DispatcherConfig statico | |
| ServiceConfig.DispatcherConfig | |
| com.google.protobuf.Descriptors.Descriptor statico finale | |
| booleano | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
| lungo | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
| lungo | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
| lungo | getPort () The port for the dispatcher to bind to. |
| Corda | getProtocollo () 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 | |
| finale com.google.protobuf.UnknownFieldSet | |
| Corda | getDirLavoro () 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 | codicehash () |
| booleano finale | |
| serviceConfig.DispatcherConfig.Builder statico | newBuilder (prototipo ServiceConfig.DispatcherConfig ) |
| serviceConfig.DispatcherConfig.Builder statico | |
| ServiceConfig.DispatcherConfig.Builder | |
| ServiceConfig.DispatcherConfig statico | parseDelimitedFrom (input InputStream) |
| ServiceConfig.DispatcherConfig statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.DispatcherConfig statico | parseFrom (dati ByteBuffer) |
| ServiceConfig.DispatcherConfig statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
| ServiceConfig.DispatcherConfig statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.DispatcherConfig statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
| ServiceConfig.DispatcherConfig statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.DispatcherConfig statico | parseFrom (dati com.google.protobuf.ByteString) |
| ServiceConfig.DispatcherConfig statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.DispatcherConfig statico | parseFrom (dati com.google.protobuf.ByteString, estensione Com.google.protobuf.ExtensionRegistryLiteRegistry) |
| statico | analizzatore () |
| ServiceConfig.DispatcherConfig.Builder | toBuilder () |
| vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int FAULT_TOLERANT_MODE_FIELD_NUMBER
Valore costante: 4
public static final int JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
Valore costante: 5
public static final int JOB_GC_TIMEOUT_MS_FIELD_NUMBER
Valore costante: 6
public static final int PORT_FIELD_NUMBER
Valore costante: 1
public static final int PROTOCOL_FIELD_NUMBER
Valore costante: 2
public static final int WORK_DIR_FIELD_NUMBER
Valore costante: 3
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico booleano 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; pubblico lungo getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5; pubblico lungo getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6; pubblico getParserForType ()
getPort lungo pubblico ()
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; pubblico com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2; public int getSerializedSize ()
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
stringa pubblica 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; pubblico 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 ()
public final booleano isInitialized ()
public static ServiceConfig.DispatcherConfig.Builder newBuilder (prototipo ServiceConfig.DispatcherConfig )
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (input InputStream)
Lancia
| IOException |
|---|
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| IOException |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (dati ByteBuffer)
Lancia
| InvalidProtocolBufferException |
|---|
pubblico statico ServiceConfig.DispatcherConfig parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| IOException |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| InvalidProtocolBufferException |
|---|
parseFrom pubblico statico ServiceConfig.DispatcherConfig (input com.google.protobuf.CodedInputStream)
Lancia
| IOException |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| InvalidProtocolBufferException |
|---|
parseFrom pubblico statico ServiceConfig.DispatcherConfig (dati com.google.protobuf.ByteString)
Lancia
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.DispatcherConfig parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| IOException |
|---|
pubblico statico ServiceConfig.DispatcherConfig parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| InvalidProtocolBufferException |
|---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
| IOException |
|---|