Enum FlowDurabilityHint
- All Implemented Interfaces:
Serializable
,Comparable<FlowDurabilityHint>
Provides hints about just how hard we should try to protect our workflow from failures of the controller.
There is a trade-off between durability and performance, with higher levels carrying much higher overheads to execution.
Storage and persistence of data should try to provide at least the specified level (may offer more).
- Author:
- Sam Van Oort
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
For compatibility with Jelly, etc.boolean
Should we try to use an atomic write to protect from corrupting data with failures and errors during writes?boolean
If false, the flow has to complete one way or the other in order to be persisted.static FlowDurabilityHint
Returns the enum constant of this type with the specified name.static FlowDurabilityHint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PERFORMANCE_OPTIMIZED
-
SURVIVABLE_NONATOMIC
-
MAX_SURVIVABILITY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isAtomicWrite
public boolean isAtomicWrite()Should we try to use an atomic write to protect from corrupting data with failures and errors during writes? -
isPersistWithEveryStep
public boolean isPersistWithEveryStep()If false, the flow has to complete one way or the other in order to be persisted. -
getName
For compatibility with Jelly, etc. -
getDescription
-
getTooltip
-