WorkerHealth

enum akhir publik WorkerHealth

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

Konstanta

ke dalam INTERNAL_ERROR_VALUE INTERNAL_ERROR = 2;
ke dalam Oke_VALUE
 By default a worker is healthy.
ke dalam TERIMA_SHUTDOWN_SIGNAL_VALUE RECEIVED_SHUTDOWN_SIGNAL = 1;
ke dalam SHUTTING_DOWN_VALUE
 Worker has been instructed to shutdown after a timeout.

Metode Warisan

Nilai Enum

WorkerHealth INTERNAL_ERROR akhir statis publik

INTERNAL_ERROR = 2;

WorkerHealth akhir statis publik OK

 By default a worker is healthy.
 
OK = 0;

WorkerHealth akhir statis publik RECEIVED_SHUTDOWN_SIGNAL

RECEIVED_SHUTDOWN_SIGNAL = 1;

WorkerHealth final publik statis SHUTTING_DOWN

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

WorkerHealth final publik statis TIDAK DIAKUI

Konstanta

int akhir statis publik INTERNAL_ERROR_VALUE

INTERNAL_ERROR = 2;

Nilai Konstan: 2

int akhir statis publik OK_VALUE

 By default a worker is healthy.
 
OK = 0;

Nilai Konstan: 0

int akhir statis publik RECEIVED_SHUTDOWN_SIGNAL_VALUE

RECEIVED_SHUTDOWN_SIGNAL = 1;

Nilai Konstan: 1

int final statis publik SHUTTING_DOWN_VALUE

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

Nilai Konstan: 3