מחלקה סופית סטטית ציבורית 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 | buildPartial () |
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 | 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 | שיבוט () |
ServiceConfig.DispatcherConfig | |
final static 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. |
אָרוֹך | getPort () The port for the dispatcher to bind to. |
חוּט | 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. |
חוּט | 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. |
בוליאנית סופית | |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.Message אחר) |
final ServiceConfig.DispatcherConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
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, אינדקס אינט, ערך אובייקט) |
final ServiceConfig.DispatcherConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
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.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)
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 ()
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;
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 ()
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;
בוליאני הסופי הציבורי הוא אתחול ()
public ServiceConfig.DispatcherConfig.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public final ServiceConfig.DispatcherConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
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, ערך אובייקט)
public final ServiceConfig.DispatcherConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
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;