Class ServiceDeploymentActions


  • public class ServiceDeploymentActions
    extends Object
    Actions of change service state to be processed in the service deployment process.
    • Constructor Detail

      • ServiceDeploymentActions

        public ServiceDeploymentActions​(GridKernalContext ctx)
        Parameters:
        ctx - Kernal context.
    • Method Detail

      • servicesToDeploy

        public void servicesToDeploy​(@NotNull
                                     @NotNull Map<IgniteUuid,​ServiceInfo> servicesToDeploy)
        Parameters:
        servicesToDeploy - Services info to deploy.
      • servicesToDeploy

        @NotNull
        public @NotNull Map<IgniteUuid,​ServiceInfo> servicesToDeploy()
        Returns:
        Services info to deploy.
      • servicesToUndeploy

        public void servicesToUndeploy​(@NotNull
                                       @NotNull Map<IgniteUuid,​ServiceInfo> servicesToUndeploy)
        Parameters:
        servicesToUndeploy - Services info to undeploy.
      • servicesToUndeploy

        @NotNull
        public @NotNull Map<IgniteUuid,​ServiceInfo> servicesToUndeploy()
        Returns:
        Services info to undeploy.
      • deactivate

        public void deactivate​(boolean deactivate)
        Parameters:
        deactivate - Whenever it's necessary to deactivate service processor.
      • deactivate

        public boolean deactivate()
        Returns:
        Whenever it's necessary to deactivate service processor.
      • deploymentTopologies

        @NotNull
        public @NotNull Map<IgniteUuid,​Map<UUID,​Integer>> deploymentTopologies()
        Returns:
        Deployment topologies.
      • deploymentTopologies

        public void deploymentTopologies​(@NotNull
                                         @NotNull Map<IgniteUuid,​Map<UUID,​Integer>> depTops)
        Parameters:
        depTops - Deployment topologies.
      • deploymentErrors

        @NotNull
        public @NotNull Map<IgniteUuid,​Collection<byte[]>> deploymentErrors()
        Returns:
        Deployment errors.
      • deploymentErrors

        public void deploymentErrors​(@NotNull
                                     @NotNull Map<IgniteUuid,​Collection<byte[]>> depErrors)
        Parameters:
        depErrors - Deployment errors.