genel statik son sınıf ServiceConfig.DispatcherConfig.Builder
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
Genel Yöntemler
ServiceConfig.DispatcherConfig.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ServiceConfig.DispatcherConfig | inşa etmek () |
ServiceConfig.DispatcherConfig | inşaKısmi () |
ServiceConfig.DispatcherConfig.Builder | temizlemek () |
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 alanı) |
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 | clearPort () The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | clearProtocol () The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | clearWorkDir () A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | klon () |
ServiceConfig.DispatcherConfig | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
uzun | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
uzun | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
uzun | getPort () The port for the dispatcher to bind to. |
Sicim | 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. |
Sicim | 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. |
son boole değeri | Başlatıldı () |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.Message other) |
final ServiceConfig.DispatcherConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
ServiceConfig.DispatcherConfig.Builder | setFaultTolerantMode (boole değeri) Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ServiceConfig.DispatcherConfig.Builder | setJobGcCheckIntervalMs (uzun değer) How often the dispatcher should scan through to delete old and unused jobs. |
ServiceConfig.DispatcherConfig.Builder | setJobGcTimeoutMs (uzun değer) How long a job needs to be unused before it becomes a candidate for garbage collection. |
ServiceConfig.DispatcherConfig.Builder | setPort (uzun değer) The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | setProtocol (Dize değeri) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setProtocolBytes (com.google.protobuf.ByteString değeri) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
final ServiceConfig.DispatcherConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
ServiceConfig.DispatcherConfig.Builder | setWorkDir (Dize değeri) A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | setWorkDirBytes (com.google.protobuf.ByteString değeri) A work directory to use for storing dispatcher state, and for recovering during restarts. |
Kalıtsal Yöntemler
Genel Yöntemler
public ServiceConfig.DispatcherConfig.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
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 (com.google.protobuf.Descriptors.FieldDescriptor alanı)
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 ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
genel 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;
genel uzun getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
genel uzun getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
halka açık uzun 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;
genel Dize 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;
genel Dize 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;
genel final boolean isInitialized ()
public ServiceConfig.DispatcherConfig.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel final ServiceConfig.DispatcherConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public ServiceConfig.DispatcherConfig.Builder setFaultTolerantMode (boole değeri)
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 alanı, Nesne değeri)
public ServiceConfig.DispatcherConfig.Builder setJobGcCheckIntervalMs (uzun değer)
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 (uzun değer)
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 (uzun değer)
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 (Dize değeri)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setProtocolBytes (com.google.protobuf.ByteString değeri)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
genel final ServiceConfig.DispatcherConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public ServiceConfig.DispatcherConfig.Builder setWorkDir (Dize değeri)
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 değeri)
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;