공개 정적 최종 클래스 ServiceConfig.DispatcherConfig
Configuration for a tf.data service DispatchServer.
tensorflow.data.experimental.DispatcherConfig
중첩 클래스
수업 | ServiceConfig.DispatcherConfig.Builder | Configuration for a tf.data service DispatchServer. |
상수
정수 | FAULT_TOLERANT_MODE_FIELD_NUMBER | |
정수 | JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER | |
정수 | JOB_GC_TIMEOUT_MS_FIELD_NUMBER | |
정수 | PORT_FIELD_NUMBER | |
정수 | PROTOCOL_FIELD_NUMBER | |
정수 | WORK_DIR_FIELD_NUMBER |
공개 방법
부울 | 같음 (객체 객체) |
정적 ServiceConfig.DispatcherConfig | |
ServiceConfig.DispatcherConfig | |
최종 정적 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. |
끈 | get프로토콜 () 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. |
정수 | |
최종 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. |
정수 | 해시코드 () |
최종 부울 | 초기화됨 () |
정적 ServiceConfig.DispatcherConfig.Builder | newBuilder ( ServiceConfig.DispatcherConfig 프로토타입) |
정적 ServiceConfig.DispatcherConfig.Builder | 새로운 빌더 () |
ServiceConfig.DispatcherConfig.Builder | |
정적 ServiceConfig.DispatcherConfig | parsDelimitedFrom (InputStream 입력) |
정적 ServiceConfig.DispatcherConfig | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ServiceConfig.DispatcherConfig | parsFrom (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 확장Registry) |
정적 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 출력) |
상속된 메서드
상수
공개 정적 최종 int FAULT_TOLERANT_MODE_FIELD_NUMBER
상수값: 4
공개 정적 최종 int JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER
상수값: 5
공개 정적 최종 int JOB_GC_TIMEOUT_MS_FIELD_NUMBER
상수값: 6
공개 정적 최종 int PORT_FIELD_NUMBER
상수값: 1
공개 정적 최종 int PROTOCOL_FIELD_NUMBER
상수값: 2
공개 정적 최종 int WORK_DIR_FIELD_NUMBER
상수값: 3
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 정적 최종 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;
공개 긴 getJobGcCheckIntervalMs ()
How often the dispatcher should scan through to delete old and unused jobs.
int64 job_gc_check_interval_ms = 5;
공개 긴 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;
공개 com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the dispatcher to use when connecting to workers.
string protocol = 2;
공개 int getSerializedSize ()
공개 최종 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;
공개 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;
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 ServiceConfig.DispatcherConfig parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ServiceConfig.DispatcherConfig parsFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 ServiceConfig.DispatcherConfig parsFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ServiceConfig.DispatcherConfig parsFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ServiceConfig.DispatcherConfig parsFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ServiceConfig.DispatcherConfig parsFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|