Class VespaRestartAction

  • All Implemented Interfaces:
    com.yahoo.config.model.api.ConfigChangeAction, com.yahoo.config.model.api.ConfigChangeRestartAction

    public class VespaRestartAction
    extends VespaConfigChangeAction
    implements com.yahoo.config.model.api.ConfigChangeRestartAction
    Represents an action to restart services in order to handle a config change.
    Author:
    geirst
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.yahoo.config.model.api.ConfigChangeAction

        com.yahoo.config.model.api.ConfigChangeAction.Type
    • Constructor Summary

      Constructors 
      Constructor Description
      VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id, java.lang.String message)  
      VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id, java.lang.String message, com.yahoo.config.model.api.ServiceInfo service)  
      VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id, java.lang.String message, com.yahoo.config.model.api.ServiceInfo services, boolean ignoreForInternalRedeploy)  
      VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id, java.lang.String message, java.util.List<com.yahoo.config.model.api.ServiceInfo> services)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean ignoreForInternalRedeploy()  
      VespaConfigChangeAction modifyAction​(java.lang.String newMessage, java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices, java.lang.String documentType)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.yahoo.config.model.api.ConfigChangeAction

        clusterId, getMessage, getServices, validationId
      • Methods inherited from interface com.yahoo.config.model.api.ConfigChangeRestartAction

        getType
    • Constructor Detail

      • VespaRestartAction

        public VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id,
                                  java.lang.String message)
      • VespaRestartAction

        public VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id,
                                  java.lang.String message,
                                  com.yahoo.config.model.api.ServiceInfo service)
      • VespaRestartAction

        public VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id,
                                  java.lang.String message,
                                  com.yahoo.config.model.api.ServiceInfo services,
                                  boolean ignoreForInternalRedeploy)
      • VespaRestartAction

        public VespaRestartAction​(com.yahoo.config.provision.ClusterSpec.Id id,
                                  java.lang.String message,
                                  java.util.List<com.yahoo.config.model.api.ServiceInfo> services)
    • Method Detail

      • ignoreForInternalRedeploy

        public boolean ignoreForInternalRedeploy()
        Specified by:
        ignoreForInternalRedeploy in interface com.yahoo.config.model.api.ConfigChangeAction