classe final estática pública ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.Tipo de protobuf
tensorflow.data.experimental.DispatcherConfig
Classes aninhadas
aula | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. |
Constantes
interno | FAULT_TOLERANT_MODE_FIELD_NUMBER | |
interno | JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER | |
interno | JOB_GC_TIMEOUT_MS_FIELD_NUMBER | |
interno | PORT_FIELD_NUMBER | |
interno | PROTOCOL_FIELD_NUMBER | |
interno | WORK_DIR_FIELD_NUMBER |
Métodos Públicos
booleano | é igual (objeto obj) |
ServiceConfig.DispatcherConfig estático | |
ServiceConfig.DispatcherConfig | |
final estático com.google.protobuf.Descriptors.Descriptor | |
booleano | 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. |
Corda | getProtocolo () 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. |
interno | |
final com.google.protobuf.UnknownFieldSet | |
Corda | 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. |
interno | código hash () |
booleano final | |
ServiceConfig.DispatcherConfig.Builder estático | newBuilder (protótipo ServiceConfig.DispatcherConfig ) |
ServiceConfig.DispatcherConfig.Builder estático | |
ServiceConfig.DispatcherConfig.Builder | |
ServiceConfig.DispatcherConfig estático | parseDelimitedFrom (entrada InputStream) |
ServiceConfig.DispatcherConfig estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (dados de ByteBuffer) |
ServiceConfig.DispatcherConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
ServiceConfig.DispatcherConfig estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (dados com.google.protobuf.ByteString) |
ServiceConfig.DispatcherConfig estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
ServiceConfig.DispatcherConfig.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
int final estático público FAULT_TOLERANT_MODE_FIELD_NUMBER
Valor Constante: 4
público estático final int JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
Valor Constante: 5
público estático final int JOB_GC_TIMEOUT_MS_FIELD_NUMBER
Valor Constante: 6
público estático final int PORT_FIELD_NUMBER
Valor Constante: 1
público estático final int PROTOCOL_FIELD_NUMBER
Valor Constante: 2
público estático final int WORK_DIR_FIELD_NUMBER
Valor Constante: 3
Métodos Públicos
booleano público é igual (Object obj)
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
getFaultTolerantMode booleano público ()
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;
público longo getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
público longo 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 ()
getPort longo público ()
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 pública getProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
público com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
público int getSerializedSize ()
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
String pública 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;
público 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;
hashCode int público ()
público final booleano isInitialized ()
public static ServiceConfig.DispatcherConfig.Builder newBuilder ( protótipo ServiceConfig.DispatcherConfig )
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (entrada InputStream)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (dados ByteBuffer)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (dados com.google.protobuf.ByteString, 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 |
---|