מחלקה סופית סטטית ציבורית ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.סוג Protobuf
tensorflow.data.experimental.DispatcherConfig
כיתות מקוננות
מַחלָקָה | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. |
קבועים
int | FAULT_TOLERANT_MODE_FIELD_NUMBER | |
int | JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER | |
int | JOB_GC_TIMEOUT_MS_FIELD_NUMBER | |
int | PORT_FIELD_NUMBER | |
int | PROTOCOL_FIELD_NUMBER | |
int | WORK_DIR_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
סטטי ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig | |
final static 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. |
int | |
final com.google.protobuf.UnknownFieldSet | |
חוּט | 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. |
int | hashcode () |
בוליאנית סופית | |
סטטי ServiceConfig.DispatcherConfig.Builder | newBuilder (אב-טיפוס ServiceConfig.DispatcherConfig ) |
סטטי ServiceConfig.DispatcherConfig.Builder | newBuilder () |
ServiceConfig.DispatcherConfig.Builder | |
סטטי ServiceConfig.DispatcherConfig | parseDelimitedFrom (קלט InputStream) |
סטטי ServiceConfig.DispatcherConfig | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (נתוני ByteBuffer) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי ServiceConfig.DispatcherConfig | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
ServiceConfig.DispatcherConfig.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
אינט סופי סטטי ציבורי FAULT_TOLERANT_MODE_FIELD_NUMBER
ערך קבוע: 4
גמר סטטי ציבורי אינט JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
ערך קבוע: 5
גמר סטטי ציבורי אינט JOB_GC_TIMEOUT_MS_FIELD_NUMBER
ערך קבוע: 6
גמר סטטי ציבורי PORT_FIELD_NUMBER
ערך קבוע: 1
אינט סופי סטטי ציבורי PROTOCOL_FIELD_NUMBER
ערך קבוע: 2
גמר סטטי ציבורי WORK_DIR_FIELD_NUMBER
ערך קבוע: 3
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
פּוּמְבֵּי getParserForType ()
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;
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
מחרוזת ציבורית 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 int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
Public static ServiceConfig.DispatcherConfig.Builder newBuilder (אב-טיפוס ServiceConfig.DispatcherConfig )
public static ServiceConfig.DispatcherConfig parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (נתוני ByteBuffer)
זורק
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (קלט com.google.protobuf.CodedInputStream)
זורק
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static ServiceConfig.DispatcherConfig parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|