classe final estática pública ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
tipo tensorflow.data.experimental.DispatcherConfig
Classes aninhadas
aula | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. |
Constantes
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 |
Métodos Públicos
boleano | igual a (objeto obj) |
static ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig | |
final static com.google.protobuf.Descriptors.Descriptor | |
boleano | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
longo | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
longo | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
longo | getPort () The port for the dispatcher to bind to. |
Fragmento | 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 | |
Fragmento | 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 | hashCode () |
final booleano | |
static ServiceConfig.DispatcherConfig.Builder | newBuilder (protótipo ServiceConfig.DispatcherConfig ) |
static ServiceConfig.DispatcherConfig.Builder | newBuilder () |
ServiceConfig.DispatcherConfig.Builder | |
static ServiceConfig.DispatcherConfig | parseDelimitedFrom (input InputStream) |
static ServiceConfig.DispatcherConfig | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig.DispatcherConfig | parseFrom (dados ByteBuffer) |
static ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig.DispatcherConfig | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.CodedInputStream input) |
static ServiceConfig.DispatcherConfig | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.ByteString data) |
static ServiceConfig.DispatcherConfig | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig.DispatcherConfig | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
ServiceConfig.DispatcherConfig.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int FAULT_TOLERANT_MODE_FIELD_NUMBER
Valor constante: 4
public static final int JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
Valor constante: 5
public static final int JOB_GC_TIMEOUT_MS_FIELD_NUMBER
Valor constante: 6
public static final int PORT_FIELD_NUMBER
Valor Constante: 1
public static final int PROTOCOL_FIELD_NUMBER
Valor constante: 2
public static final int WORK_DIR_FIELD_NUMBER
Valor Constante: 3
Métodos Públicos
public boolean equals (Object 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;
público 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 ()
Protocolo de string protocol = 2;
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public com.google.protobuf.ByteString getProtocolBytes ()
Protocolo de string protocol = 2;
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public 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 ()
public final boolean isInitialized ()
public static ServiceConfig.DispatcherConfig.Builder newBuilder (protótipo ServiceConfig.DispatcherConfig )
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (InputStream input)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (dados ByteBuffer)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.CodedInputStream input)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|