Interface RestartPolicy
-
@Immutable public interface RestartPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RestartPolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
RESTART_POLICY_ANY
static String
RESTART_POLICY_NONE
static String
RESTART_POLICY_ON_FAILURE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RestartPolicy.Builder
builder()
String
condition()
Long
delay()
Integer
maxAttempts()
Long
window()
-
-
-
Field Detail
-
RESTART_POLICY_NONE
static final String RESTART_POLICY_NONE
- See Also:
- Constant Field Values
-
RESTART_POLICY_ON_FAILURE
static final String RESTART_POLICY_ON_FAILURE
- See Also:
- Constant Field Values
-
RESTART_POLICY_ANY
static final String RESTART_POLICY_ANY
- See Also:
- Constant Field Values
-
-
Method Detail
-
condition
String condition()
-
delay
Long delay()
-
maxAttempts
Integer maxAttempts()
-
window
Long window()
-
builder
static RestartPolicy.Builder builder()
-
-