общедоступный статический конечный класс ServiceConfig.DispatcherConfig.Builder
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
Публичные методы
ServiceConfig.DispatcherConfig.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ServiceConfig.DispatcherConfig | строить () |
ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig.Builder | прозрачный () |
ServiceConfig.DispatcherConfig.Builder | ClearFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | ClearField (поле 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 | очиститьПорт () The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | очистить протокол () The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | ОчиститьРабочийДир () A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | клон () |
ServiceConfig.DispatcherConfig | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
логическое значение | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
длинный | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
длинный | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
длинный | получитьПорт () The port for the dispatcher to bind to. |
Нить | получить протокол () 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. |
Нить | получитьРабочийДир () 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. |
последнее логическое значение | |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательный ServiceConfig.DispatcherConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ServiceConfig.DispatcherConfig.Builder | setFaultTolerantMode (логическое значение) Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ServiceConfig.DispatcherConfig.Builder | setJobGcCheckIntervalMs (длинное значение) How often the dispatcher should scan through to delete old and unused jobs. |
ServiceConfig.DispatcherConfig.Builder | setJobGcTimeoutMs (длинное значение) How long a job needs to be unused before it becomes a candidate for garbage collection. |
ServiceConfig.DispatcherConfig.Builder | setPort (длинное значение) The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | setProtocol (строковое значение) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setProtocolBytes (значение com.google.protobuf.ByteString) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательный ServiceConfig.DispatcherConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ServiceConfig.DispatcherConfig.Builder | setWorkDir (строковое значение) A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | setWorkDirBytes (значение com.google.protobuf.ByteString) A work directory to use for storing dispatcher state, and for recovering during restarts. |
Унаследованные методы
Публичные методы
public ServiceConfig.DispatcherConfig.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ServiceConfig.DispatcherConfig.BuildercleFaultTolerantMode ()
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 (поле com.google.protobuf.Descriptors.FieldDescriptor)
public ServiceConfig.DispatcherConfig.BuildercleJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
public ServiceConfig.DispatcherConfig.BuildercleJobGcTimeoutMs ()
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)
общественный 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;
общедоступный ServiceConfig.DispatcherConfig.Builder ClearProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.BuilderclearWorkDir ( )
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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступное логическое значение 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;
общедоступный длинный getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
общедоступный длинный getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
публичный длинный 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 ()
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;
публичная строка 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;
публичное финальное логическое значение isInitialized ()
public ServiceConfig.DispatcherConfig.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
публичный окончательный ServiceConfig.DispatcherConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.DispatcherConfig.Builder setFaultTolerantMode (логическое значение)
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 (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ServiceConfig.DispatcherConfig.Builder setJobGcCheckIntervalMs (длинное значение)
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 (длинное значение)
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 (длинное значение)
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 (строковое значение)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setProtocolBytes (значение com.google.protobuf.ByteString)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
общедоступный окончательный ServiceConfig.DispatcherConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.DispatcherConfig.Builder setWorkDir (строковое значение)
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 (значение 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;