WorkerHealth

enum finale pubblica WorkerHealth

 Current health status of a worker.
 
Protobuf enum tensorflow.WorkerHealth

Costanti

int VALORE_ERRORE_INTERNO INTERNAL_ERROR = 2;
int OK_VALORE
 By default a worker is healthy.
int RECEIVED_SHUTDOWN_SIGNAL_VALUE RECEIVED_SHUTDOWN_SIGNAL = 1;
int SHUTTING_DOWN_VALUE
 Worker has been instructed to shutdown after a timeout.

Metodi ereditati

Valori di enumerazione

pubblico statico finale WorkerHealth INTERNAL_ERROR

INTERNAL_ERROR = 2;

pubblico statico finale WorkerHealth OK

 By default a worker is healthy.
 
OK = 0;

pubblico statico finale WorkerHealth RECEIVED_SHUTDOWN_SIGNAL

RECEIVED_SHUTDOWN_SIGNAL = 1;

pubblico statico finale WorkerHealth SHUTTING_DOWN

 Worker has been instructed to shutdown after a timeout.
 
SHUTTING_DOWN = 3;

public static final WorkerHealth UNRECOGNIZED

Costanti

public static final int INTERNAL_ERROR_VALUE

INTERNAL_ERROR = 2;

Valore costante: 2

public static final int OK_VALUE

 By default a worker is healthy.
 
OK = 0;

Valore costante: 0

public static final int RECEIVED_SHUTDOWN_SIGNAL_VALUE

RECEIVED_SHUTDOWN_SIGNAL = 1;

Valore costante: 1

public static final int SHUTTING_DOWN_VALUE

 Worker has been instructed to shutdown after a timeout.
 
SHUTTING_DOWN = 3;

Valore costante: 3