Class NodeResourceChangeValidator
java.lang.Object
com.yahoo.vespa.model.application.validation.change.NodeResourceChangeValidator
- All Implemented Interfaces:
ChangeValidator
Emits restart change actions for clusters where the node resources are changed in a way
which requires a "restart" (container recreation) to take effect.
Nodes will restart on their own on this condition, but we want to emit restart actions to
defer applying new config until restart.
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(Validation.ChangeContext context) Validates changes from the previous to the next model.
-
Constructor Details
-
NodeResourceChangeValidator
public NodeResourceChangeValidator()
-
-
Method Details
-
validate
Description copied from interface:ChangeValidator
Validates changes from the previous to the next model. Necessary actions by the user should be reported through the context; seeValidator
for more details.- Specified by:
validate
in interfaceChangeValidator
-