PolicyAttributesHeartbeatResurrectionStrategyEnum class
The strategy used for controlling whether or not dead machines and processes can be resurrected shortly after death. A resurrection occurs when a heartbeat ping is sent to a dead machine or process that is within its resurrection window. ### Options - NO_REVIVE
: Do not allow dead machines and processes to be revived. This is the default. - 1_MINUTE_REVIVE
: A machine or process can be revived if it sends a ping within 1 minute from its time of death. - 2_MINUTE_REVIVE
: A machine or process can be revived if it sends a ping within 2 minutes from its time of death. - 5_MINUTE_REVIVE
: A machine or process can be revived if it sends a ping within 5 minutes from its time of death. - 10_MINUTE_REVIVE
: A machine or process can be revived if it sends a ping within 10 minutes from its time of death. - 15_MINUTE_REVIVE
: A machine or process can be revived if it sends a ping within 15 minutes from its time of death. - ALWAYS_REVIVE
: A machine or process can always be revived. Requires a cull strategy of KEEP_DEAD
.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic value) → PolicyAttributesHeartbeatResurrectionStrategyEnum? -
listFromJson(
dynamic json, {bool growable = false}) → List< PolicyAttributesHeartbeatResurrectionStrategyEnum>
Constants
- ALWAYS_REVIVE → const PolicyAttributesHeartbeatResurrectionStrategyEnum
- n1mINUTEREVIVE → const PolicyAttributesHeartbeatResurrectionStrategyEnum
- n2mINUTEREVIVE → const PolicyAttributesHeartbeatResurrectionStrategyEnum
- n5mINUTEREVIVE → const PolicyAttributesHeartbeatResurrectionStrategyEnum
- n10mINUTEREVIVE → const PolicyAttributesHeartbeatResurrectionStrategyEnum
- n15mINUTEREVIVE → const PolicyAttributesHeartbeatResurrectionStrategyEnum
- NO_REVIVE → const PolicyAttributesHeartbeatResurrectionStrategyEnum
-
values
→ const List<
PolicyAttributesHeartbeatResurrectionStrategyEnum> - List of all possible values in this PolicyAttributesHeartbeatResurrectionStrategyEnum.