kelas akhir statis publik ServiceConfig.DispatcherConfig.Builder
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
Metode Publik
ServiceConfig.DispatcherConfig.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ServiceConfig.DispatcherConfig | membangun () |
ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig.Builder | jernih () |
ServiceConfig.DispatcherConfig.Builder | jelasFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
ServiceConfig.DispatcherConfig.Builder | hapusJobGcCheckIntervalMs () 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 salah satu) |
ServiceConfig.DispatcherConfig.Builder | bersihkanPort () The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | jelasProtokol () The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | jelasWorkDir () A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | klon () |
ServiceConfig.DispatcherConfig | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | dapatkanFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
panjang | dapatkanJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
panjang | dapatkanJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
panjang | dapatkanPort () The port for the dispatcher to bind to. |
Rangkaian | dapatkanProtokol () The protocol for the dispatcher to use when connecting to workers. |
com.google.protobuf.ByteString | dapatkanProtocolBytes () The protocol for the dispatcher to use when connecting to workers. |
Rangkaian | dapatkanWorkDir () A work directory to use for storing dispatcher state, and for recovering during restarts. |
com.google.protobuf.ByteString | dapatkanWorkDirBytes () A work directory to use for storing dispatcher state, and for recovering during restarts. |
boolean terakhir | |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
ServiceConfig.DispatcherConfig.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceConfig.DispatcherConfig.Builder | setFaultTolerantMode (nilai boolean) Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ServiceConfig.DispatcherConfig.Builder | setJobGcCheckIntervalMs (nilai panjang) How often the dispatcher should scan through to delete old and unused jobs. |
ServiceConfig.DispatcherConfig.Builder | setJobGcTimeoutMs (nilai panjang) How long a job needs to be unused before it becomes a candidate for garbage collection. |
ServiceConfig.DispatcherConfig.Builder | setPort (nilai panjang) The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | setProtocol (Nilai string) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setProtocolBytes (nilai com.google.protobuf.ByteString) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
ServiceConfig.DispatcherConfig.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceConfig.DispatcherConfig.Builder | setWorkDir (Nilai string) A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | setWorkDirBytes (nilai com.google.protobuf.ByteString) A work directory to use for storing dispatcher state, and for recovering during restarts. |
Metode Warisan
Metode Publik
public ServiceConfig.DispatcherConfig.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ServiceConfig.DispatcherConfig.Builder publik 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 (bidang com.google.protobuf.Descriptors.FieldDescriptor)
ServiceConfig.DispatcherConfig.Builder publik clearJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
ServiceConfig.DispatcherConfig.Builder publik 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)
ServiceConfig.DispatcherConfig.Builder publik 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 publik clearProtocol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
ServiceConfig.DispatcherConfig.Builder publik 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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
boolean publik 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 panjang publik ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
getJobGcTimeoutMs panjang publik ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
getPort panjang publik ()
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;
String publik getProtokol ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
publik com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
String publik 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;
publik 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;
boolean akhir publik diinisialisasi ()
public ServiceConfig.DispatcherConfig.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public final ServiceConfig.DispatcherConfig.Builder menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ServiceConfig.DispatcherConfig.Builder setFaultTolerantMode (nilai boolean)
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 (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
public ServiceConfig.DispatcherConfig.Builder setJobGcCheckIntervalMs (nilai panjang)
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 (nilai panjang)
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 (nilai panjang)
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 (Nilai string)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setProtocolBytes (nilai com.google.protobuf.ByteString)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
ServiceConfig.DispatcherConfig.Builder final publik setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ServiceConfig.DispatcherConfig.Builder setWorkDir (Nilai string)
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 (nilai 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;