ServiceConfig.DispatcherConfig de clase final estática pública
Configuration for a tf.data service DispatchServer.Protobuf tipo
tensorflow.data.experimental.DispatcherConfig
Clases anidadas
clase | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. |
Constantes
En t | FAULT_TOLERANT_MODE_FIELD_NUMBER | |
En t | JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER | |
En t | JOB_GC_TIMEOUT_MS_FIELD_NUMBER | |
En t | PORT_FIELD_NUMBER | |
En t | PROTOCOL_FIELD_NUMBER | |
En t | WORK_DIR_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
ServiceConfig.DispatcherConfig estático | |
ServiceConfig.DispatcherConfig | |
com.google.protobuf.Descriptors.Descriptor estático final | |
booleano | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
largo | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
largo | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
largo | getPort () The port for the dispatcher to bind to. |
Cuerda | 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. |
En t | |
final com.google.protobuf.UnknownFieldSet | |
Cuerda | 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. |
En t | hashCode () |
booleano final | |
ServiceConfig.DispatcherConfig.Builder estático | newBuilder (prototipo ServiceConfig.DispatcherConfig ) |
ServiceConfig.DispatcherConfig.Builder estático | newBuilder () |
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 (datos ByteBuffer) |
ServiceConfig.DispatcherConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
ServiceConfig.DispatcherConfig estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (datos com.google.protobuf.ByteString) |
ServiceConfig.DispatcherConfig estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
ServiceConfig.DispatcherConfig.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
público estático 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 es igual a (Object obj)
público estático 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;
getProtocol de cadena pública ()
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 ()
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 ()
ServiceConfig.DispatcherConfig.Builder estático público newBuilder (prototipo ServiceConfig.DispatcherConfig )
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (entrada InputStream)
Lanza
IOException |
---|
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
ServiceConfig.DispatcherConfig estático público parseFrom (datos ByteBuffer)
Lanza
InvalidProtocolBufferException |
---|
ServiceConfig.DispatcherConfig estático público parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
ServiceConfig.DispatcherConfig estático público parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
ServiceConfig.DispatcherConfig estático público parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
ServiceConfig.DispatcherConfig estático público parseFrom (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
ServiceConfig.DispatcherConfig estático público parseFrom (datos de com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|