clase final estática pública ServiceConfig.DispatcherConfig.Builder
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
Métodos públicos
ServiceConfig.DispatcherConfig.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ServiceConfig.DispatcherConfig | construir () |
ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig.Builder | claro () |
ServiceConfig.DispatcherConfig.Builder | clearFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
ServiceConfig.DispatcherConfig.Builder | clearJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
ServiceConfig.DispatcherConfig.Builder | clearJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
ServiceConfig.DispatcherConfig.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
ServiceConfig.DispatcherConfig.Builder | puerto claro () The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | borrar protocolo () The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | borrarDirTrabajo () A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | clonar () |
ServiceConfig.DispatcherConfig | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
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 | obtener puerto () The port for the dispatcher to bind to. |
Cadena | obtener protocolo () The protocol for the dispatcher to use when connecting to workers. |
com.google.protobuf.ByteString | obtenerProtocolBytes () The protocol for the dispatcher to use when connecting to workers. |
Cadena | obtenerDirTrabajo () 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. |
booleano final | |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.Message otro) |
ServiceConfig.DispatcherConfig.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
ServiceConfig.DispatcherConfig.Builder | setFaultTolerantMode (valor booleano) Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ServiceConfig.DispatcherConfig.Builder | setJobGcCheckIntervalMs (valor largo) How often the dispatcher should scan through to delete old and unused jobs. |
ServiceConfig.DispatcherConfig.Builder | setJobGcTimeoutMs (valor largo) How long a job needs to be unused before it becomes a candidate for garbage collection. |
ServiceConfig.DispatcherConfig.Builder | setPort (valor largo) The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | setProtocol (valor de cadena) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setProtocolBytes (valor com.google.protobuf.ByteString) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
ServiceConfig.DispatcherConfig.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
ServiceConfig.DispatcherConfig.Builder | setWorkDir (valor de cadena) A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | setWorkDirBytes (valor com.google.protobuf.ByteString) A work directory to use for storing dispatcher state, and for recovering during restarts. |
Métodos heredados
Métodos públicos
public ServiceConfig.DispatcherConfig.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público ServiceConfig.DispatcherConfig.Builder clearFaultTolerantMode ()
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 ServiceConfig.DispatcherConfig.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
público ServiceConfig.DispatcherConfig.Builder clearJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
público ServiceConfig.DispatcherConfig.Builder clearJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
público ServiceConfig.DispatcherConfig.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
público ServiceConfig.DispatcherConfig.Builder clearPort ()
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;
público ServiceConfig.DispatcherConfig.Builder clearProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
público ServiceConfig.DispatcherConfig.Builder clearWorkDir ()
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 estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 largo getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
getJobGcTimeoutMs largo público ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
getPort público largo ()
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;
cadena 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;
cadena 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;
público final booleano isInitialized ()
public ServiceConfig.DispatcherConfig.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
ServiceConfig.DispatcherConfig.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público ServiceConfig.DispatcherConfig.Builder setFaultTolerantMode (valor booleano)
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 ServiceConfig.DispatcherConfig.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público ServiceConfig.DispatcherConfig.Builder setJobGcCheckIntervalMs (valor largo)
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
público ServiceConfig.DispatcherConfig.Builder setJobGcTimeoutMs (valor largo)
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
público ServiceConfig.DispatcherConfig.Builder setPort (valor largo)
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;
público ServiceConfig.DispatcherConfig.Builder setProtocol (valor de cadena)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
público ServiceConfig.DispatcherConfig.Builder setProtocolBytes (valor com.google.protobuf.ByteString)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
público ServiceConfig.DispatcherConfig.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público final ServiceConfig.DispatcherConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público ServiceConfig.DispatcherConfig.Builder setWorkDir (valor de cadena)
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 ServiceConfig.DispatcherConfig.Builder setWorkDirBytes (valor com.google.protobuf.ByteString)
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;