Package com.tnsai.resilience.recovery
Class AgentRestartPolicy
java.lang.Object
com.tnsai.resilience.recovery.AgentRestartPolicy
Configuration for agent restart/degrade decisions driven by repeated failures.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentRestartPolicy.Builderbuilder()static AgentRestartPolicyintint
-
Method Details
-
getDegradeThreshold
public int getDegradeThreshold() -
getRestartThreshold
public int getRestartThreshold() -
getCooldown
-
builder
-
defaultPolicy
-