Class GridDeploymentPerLoaderStore

    • Field Detail

      • comm

        protected final org.apache.ignite.internal.managers.deployment.GridDeploymentCommunication comm
        Deployment communication.
    • Method Detail

      • stop

        public void stop()
        Stops store.
      • getDeployment

        public GridDeployment getDeployment​(IgniteUuid ldrId)
        Gets class loader based on ID.
        Parameters:
        ldrId - Class loader ID.
        Returns:
        Class loader of null if not found.
      • searchDeploymentCache

        public GridDeployment searchDeploymentCache​(GridDeploymentMetadata meta)
        Parameters:
        meta - Deployment meatdata.
        Returns:
        Grid deployment instance if it was finded in cache, null otherwise.
      • addParticipants

        public void addParticipants​(Map<UUID,​IgniteUuid> allParticipants,
                                    Map<UUID,​IgniteUuid> addedParticipants)
        Adds participants to all deployments.
        Parameters:
        allParticipants - All participants to determine which deployments to add to.
        addedParticipants - Participants to add.
      • explicitUndeploy

        public void explicitUndeploy​(UUID nodeId,
                                     String rsrcName)
        Parameters:
        nodeId - Optional ID of node that initiated request.
        rsrcName - Undeploys all deployments that have given
      • toString

        public String toString()
      • startInfo

        protected final String startInfo()
        Returns:
        Startup log message.
      • stopInfo

        protected final String stopInfo()
        Returns:
        Stop log message.
      • userVersion

        protected final String userVersion​(ClassLoader ldr)
        Parameters:
        ldr - Class loader.
        Returns:
        User version.
      • isTask

        protected final boolean isTask​(Class<?> cls)
        Parameters:
        cls - Class to check.
        Returns:
        True if class is task class.
      • clearSerializationCaches

        protected final void clearSerializationCaches()
        Clears serialization caches to avoid PermGen memory leaks. This method should be called on each undeployment.

        For more information: http://www.szegedi.org/articles/memleak3.html.