classe finale statica pubblica ServiceConfig.DispatcherConfig.Builder
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
Metodi pubblici
ServiceConfig.DispatcherConfig.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
ServiceConfig.DispatcherConfig | costruire () |
ServiceConfig.DispatcherConfig | buildPartial () |
ServiceConfig.DispatcherConfig.Builder | chiaro () |
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 oneof) |
ServiceConfig.DispatcherConfig.Builder | cancellaPorta () The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | protocollo chiaro () The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | chiaraDirLavoro () A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | clone () |
ServiceConfig.DispatcherConfig | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
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. |
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. |
booleano finale | |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale ServiceConfig.DispatcherConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ServiceConfig.DispatcherConfig.Builder | setFaultTolerantMode (valore 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, valore oggetto) |
ServiceConfig.DispatcherConfig.Builder | setJobGcCheckIntervalMs (valore lungo) How often the dispatcher should scan through to delete old and unused jobs. |
ServiceConfig.DispatcherConfig.Builder | setJobGcTimeoutMs (valore lungo) How long a job needs to be unused before it becomes a candidate for garbage collection. |
ServiceConfig.DispatcherConfig.Builder | setPort (valore lungo) The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | setProtocol (valore stringa) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setProtocolBytes (valore 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, indice int, valore oggetto) |
finale ServiceConfig.DispatcherConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ServiceConfig.DispatcherConfig.Builder | setWorkDir (valore stringa) A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | setWorkDirBytes (valore com.google.protobuf.ByteString) A work directory to use for storing dispatcher state, and for recovering during restarts. |
Metodi ereditati
Metodi pubblici
public ServiceConfig.DispatcherConfig.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public 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;
public ServiceConfig.DispatcherConfig.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
public ServiceConfig.DispatcherConfig.Builder clearJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
public 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;
public ServiceConfig.DispatcherConfig.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public 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;
public ServiceConfig.DispatcherConfig.Builder clearProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public 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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 lungo 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 ()
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;
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 final booleano isInitialized ()
public ServiceConfig.DispatcherConfig.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final ServiceConfig.DispatcherConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public ServiceConfig.DispatcherConfig.Builder setFaultTolerantMode (valore 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;
public ServiceConfig.DispatcherConfig.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public ServiceConfig.DispatcherConfig.Builder setJobGcCheckIntervalMs (valore lungo)
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
public ServiceConfig.DispatcherConfig.Builder setJobGcTimeoutMs (valore lungo)
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
public ServiceConfig.DispatcherConfig.Builder setPort (valore lungo)
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 ServiceConfig.DispatcherConfig.Builder setProtocol (valore stringa)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setProtocolBytes (valore com.google.protobuf.ByteString)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
public final ServiceConfig.DispatcherConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.DispatcherConfig.Builder setWorkDir (valore stringa)
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 ServiceConfig.DispatcherConfig.Builder setWorkDirBytes (valore 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;