ServiceConfig.DispatcherConfig

classe finale statique publique ServiceConfig.DispatcherConfig

 Configuration for a tf.data service DispatchServer.
 
Type Protobuf tensorflow.data.experimental.DispatcherConfig

Classes imbriquées

classe ServiceConfig.DispatcherConfig.Builder
 Configuration for a tf.data service DispatchServer. 

Constantes

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

Méthodes publiques

booléen
est égal (Obj objet)
ServiceConfig.DispatcherConfig statique
ServiceConfig.DispatcherConfig
final statique com.google.protobuf.Descriptors.Descriptor
booléen
getFaultTolerantMode ()
 Whether to run in fault tolerant mode, where dispatcher state is saved
 across restarts.
long
getJobGcCheckIntervalMs ()
 How often the dispatcher should scan through to delete old and unused jobs.
long
getJobGcTimeoutMs ()
 How long a job needs to be unused before it becomes a candidate for garbage
 collection.
long
obtenirPort ()
 The port for the dispatcher to bind to.
Chaîne
getProtocole ()
 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
Chaîne
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
booléen final
ServiceConfig.DispatcherConfig.Builder statique
ServiceConfig.DispatcherConfig.Builder statique
ServiceConfig.DispatcherConfig.Builder
ServiceConfig.DispatcherConfig statique
parseDelimitedFrom (entrée InputStream)
ServiceConfig.DispatcherConfig statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.DispatcherConfig statique
parseFrom (données ByteBuffer)
ServiceConfig.DispatcherConfig statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.DispatcherConfig statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.DispatcherConfig statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
ServiceConfig.DispatcherConfig statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.DispatcherConfig statique
parseFrom (données com.google.protobuf.ByteString)
ServiceConfig.DispatcherConfig statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.DispatcherConfig statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
ServiceConfig.DispatcherConfig.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int FAULT_TOLERANT_MODE_FIELD_NUMBER

Valeur constante : 4

public statique final int JOB_GC_CHECK_INTERVAL_MS_FIELD_NUMBER

Valeur constante : 5

public statique final int JOB_GC_TIMEOUT_MS_FIELD_NUMBER

Valeur constante : 6

public statique final int PORT_FIELD_NUMBER

Valeur constante : 1

public statique final int PROTOCOL_FIELD_NUMBER

Valeur constante : 2

public statique final int WORK_DIR_FIELD_NUMBER

Valeur constante : 3

Méthodes publiques

public booléen égal (Objet obj)

public statique ServiceConfig.DispatcherConfig getDefaultInstance ()

public ServiceConfig.DispatcherConfig getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public booléen 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;

publique getParserForType ()

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;

chaîne publique 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 ()

chaîne publique 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;

code de hachage int public ()

public final booléen isInitialized ()

public statique ServiceConfig.DispatcherConfig.Builder newBuilder ()

public ServiceConfig.DispatcherConfig.Builder newBuilderForType ()

public statique ServiceConfig.DispatcherConfig parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public statique ServiceConfig.DispatcherConfig parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ServiceConfig.DispatcherConfig parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.DispatcherConfig parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ServiceConfig.DispatcherConfig parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.DispatcherConfig parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public statique ServiceConfig.DispatcherConfig parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.DispatcherConfig parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.DispatcherConfig parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ServiceConfig.DispatcherConfig parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException