publiczna statyczna klasa końcowa ServiceConfig.DispatcherConfig.Builder
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
Metody publiczne
ServiceConfig.DispatcherConfig.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
ServiceConfig.DispatcherConfig | zbudować () |
ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig.Builder | jasne () |
ServiceConfig.DispatcherConfig.Builder | clearFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | clearField (pole 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 | wyczyśćPort () The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | wyczyśćProtokół () 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 | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
wartość logiczna | getFaultTolerantMode () Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
długi | getJobGcCheckIntervalMs () How often the dispatcher should scan through to delete old and unused jobs. |
długi | getJobGcTimeoutMs () How long a job needs to be unused before it becomes a candidate for garbage collection. |
długi | pobierzPort () The port for the dispatcher to bind to. |
Smyczkowy | pobierz protokół () 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. |
Smyczkowy | 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. |
końcowa wartość logiczna | |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.DispatcherConfig.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
końcowy ServiceConfig.DispatcherConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
ServiceConfig.DispatcherConfig.Builder | setFaultTolerantMode (wartość logiczna) Whether to run in fault tolerant mode, where dispatcher state is saved across restarts. |
ServiceConfig.DispatcherConfig.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
ServiceConfig.DispatcherConfig.Builder | setJobGcCheckIntervalMs (długa wartość) How often the dispatcher should scan through to delete old and unused jobs. |
ServiceConfig.DispatcherConfig.Builder | setJobGcTimeoutMs (długa wartość) How long a job needs to be unused before it becomes a candidate for garbage collection. |
ServiceConfig.DispatcherConfig.Builder | setPort (długa wartość) The port for the dispatcher to bind to. |
ServiceConfig.DispatcherConfig.Builder | setProtocol (wartość ciągu) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setProtocolBytes (wartość com.google.protobuf.ByteString) The protocol for the dispatcher to use when connecting to workers. |
ServiceConfig.DispatcherConfig.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
końcowy ServiceConfig.DispatcherConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
ServiceConfig.DispatcherConfig.Builder | setWorkDir (wartość ciągu) A work directory to use for storing dispatcher state, and for recovering during restarts. |
ServiceConfig.DispatcherConfig.Builder | setWorkDirBytes (wartość com.google.protobuf.ByteString) A work directory to use for storing dispatcher state, and for recovering during restarts. |
Metody dziedziczone
Metody publiczne
public ServiceConfig.DispatcherConfig.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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 (pole 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 ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
publiczna wartość logiczna 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;
publiczny długi getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
publiczny długi getJobGcTimeoutMs ()
How long a job needs to be unused before it becomes a candidate for garbage collection.
int64 job_gc_timeout_ms = 6;
publiczny długi 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;
public com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
publiczny ciąg 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;
publiczny 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;
publiczna końcowa wartość logiczna isInitialized ()
public ServiceConfig.DispatcherConfig.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczna wersja końcowa ServiceConfig.DispatcherConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.DispatcherConfig.Builder setFaultTolerantMode (wartość logiczna)
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 (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public ServiceConfig.DispatcherConfig.Builder setJobGcCheckIntervalMs (długa wartość)
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 (długa wartość)
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 (długa wartość)
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 (wartość ciągu)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setProtocolBytes (wartość com.google.protobuf.ByteString)
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
public ServiceConfig.DispatcherConfig.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
publiczny końcowy ServiceConfig.DispatcherConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.DispatcherConfig.Builder setWorkDir (wartość ciągu)
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 (wartość 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;