public final enum
WorkerShutdownMode
Indicates the behavior of the worker when an internal error or shutdown signal is received.
tensorflow.WorkerShutdownMode
Constants
int | DEFAULT_VALUE | DEFAULT = 0;
|
int | NOT_CONFIGURED_VALUE | NOT_CONFIGURED = 1;
|
int | SHUTDOWN_AFTER_TIMEOUT_VALUE | SHUTDOWN_AFTER_TIMEOUT = 3;
|
int | WAIT_FOR_COORDINATOR_VALUE | WAIT_FOR_COORDINATOR = 2;
|
Inherited Methods
final int |
compareTo(WorkerShutdownMode arg0)
|
int |
compareTo(Object arg0)
|
final boolean |
equals(Object arg0)
|
final Class<WorkerShutdownMode> |
getDeclaringClass()
|
final int |
hashCode()
|
final String |
name()
|
final int |
ordinal()
|
String |
toString()
|
static <T extends Enum<T>> T |
valueOf(Class<T> arg0, String arg1)
|
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
abstract int |
compareTo(WorkerShutdownMode arg0)
|
Enum Values
public static final WorkerShutdownMode DEFAULT
DEFAULT = 0;
public static final WorkerShutdownMode NOT_CONFIGURED
NOT_CONFIGURED = 1;
public static final WorkerShutdownMode SHUTDOWN_AFTER_TIMEOUT
SHUTDOWN_AFTER_TIMEOUT = 3;
public static final WorkerShutdownMode UNRECOGNIZED
public static final WorkerShutdownMode WAIT_FOR_COORDINATOR
WAIT_FOR_COORDINATOR = 2;
Constants
public static final int DEFAULT_VALUE
DEFAULT = 0;
Constant Value:
0
public static final int NOT_CONFIGURED_VALUE
NOT_CONFIGURED = 1;
Constant Value:
1
public static final int SHUTDOWN_AFTER_TIMEOUT_VALUE
SHUTDOWN_AFTER_TIMEOUT = 3;
Constant Value:
3
public static final int WAIT_FOR_COORDINATOR_VALUE
WAIT_FOR_COORDINATOR = 2;
Constant Value:
2