WorkerShutdownMode
Stay organized with collections
Save and categorize content based on your preferences.
Indicates the behavior of the worker when an internal error or shutdown
signal is received.
Protobuf enum
tensorflow.WorkerShutdownMode
Inherited Methods
From class
java.lang.Enum
final
int
|
|
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)
|
From class
java.lang.Object
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()
|
From interface
java.lang.Comparable
Enum Values
public
static
final
WorkerShutdownMode
DEFAULT
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
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# WorkerShutdownMode\n\npublic final enum **WorkerShutdownMode** \n\u003cbr /\u003e\n\n```\n Indicates the behavior of the worker when an internal error or shutdown\n signal is received.\n \n```\nProtobuf enum `tensorflow.WorkerShutdownMode`\n\n\u003cbr /\u003e\n\n### Constants\n\n|-----|------------------------------------------------------------------------------------------------------------------------------|-------------------------------|\n| int | [DEFAULT_VALUE](/jvm/api_docs/java/org/tensorflow/proto/util/WorkerShutdownMode#DEFAULT_VALUE) | `DEFAULT = 0;` |\n| int | [NOT_CONFIGURED_VALUE](/jvm/api_docs/java/org/tensorflow/proto/util/WorkerShutdownMode#NOT_CONFIGURED_VALUE) | `NOT_CONFIGURED = 1;` |\n| int | [SHUTDOWN_AFTER_TIMEOUT_VALUE](/jvm/api_docs/java/org/tensorflow/proto/util/WorkerShutdownMode#SHUTDOWN_AFTER_TIMEOUT_VALUE) | `SHUTDOWN_AFTER_TIMEOUT = 3;` |\n| int | [WAIT_FOR_COORDINATOR_VALUE](/jvm/api_docs/java/org/tensorflow/proto/util/WorkerShutdownMode#WAIT_FOR_COORDINATOR_VALUE) | `WAIT_FOR_COORDINATOR = 2;` |\n\n### Inherited Methods\n\nFrom class java.lang.Enum \n\n|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| final int | compareTo([WorkerShutdownMode](/jvm/api_docs/java/org/tensorflow/proto/util/WorkerShutdownMode) arg0) |\n| int | compareTo(Object arg0) |\n| final boolean | equals(Object arg0) |\n| final Class\\\u003c[WorkerShutdownMode](/jvm/api_docs/java/org/tensorflow/proto/util/WorkerShutdownMode)\\\u003e | getDeclaringClass() |\n| final int | hashCode() |\n| final String | name() |\n| final int | ordinal() |\n| String | toString() |\n| static \\\u003cT extends Enum\\\u003cT\\\u003e\\\u003e T | valueOf(Class\\\u003cT\\\u003e arg0, String arg1) |\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface java.lang.Comparable \n\n|--------------|-------------------------------------------------------------------------------------------------------|\n| abstract int | compareTo([WorkerShutdownMode](/jvm/api_docs/java/org/tensorflow/proto/util/WorkerShutdownMode) arg0) |\n\nEnum Values\n-----------\n\n#### public static final WorkerShutdownMode\n**DEFAULT**\n\n`DEFAULT = 0;` \n\n#### public static final WorkerShutdownMode\n**NOT_CONFIGURED**\n\n`NOT_CONFIGURED = 1;` \n\n#### public static final WorkerShutdownMode\n**SHUTDOWN_AFTER_TIMEOUT**\n\n`SHUTDOWN_AFTER_TIMEOUT = 3;` \n\n#### public static final WorkerShutdownMode\n**UNRECOGNIZED**\n\n\u003cbr /\u003e\n\n#### public static final WorkerShutdownMode\n**WAIT_FOR_COORDINATOR**\n\n`WAIT_FOR_COORDINATOR = 2;`\n\nConstants\n---------\n\n#### public static final int\n**DEFAULT_VALUE**\n\n`DEFAULT = 0;` \nConstant Value: 0 \n\n#### public static final int\n**NOT_CONFIGURED_VALUE**\n\n`NOT_CONFIGURED = 1;` \nConstant Value: 1 \n\n#### public static final int\n**SHUTDOWN_AFTER_TIMEOUT_VALUE**\n\n`SHUTDOWN_AFTER_TIMEOUT = 3;` \nConstant Value: 3 \n\n#### public static final int\n**WAIT_FOR_COORDINATOR_VALUE**\n\n`WAIT_FOR_COORDINATOR = 2;` \nConstant Value: 2"]]