Class PlanParticleManagerImpl

    • Constructor Detail

      • PlanParticleManagerImpl

        public PlanParticleManagerImpl​(PlanManager planManager)
    • Method Detail

      • getConsumersPlanKeys

        @NotNull
        public @NotNull Set<PlanKey> getConsumersPlanKeys​(Iterable<? extends PlanParticle> planParticles)
        Description copied from interface: PlanParticleManager
        Return collection of Plan keys registered as planParticle consumers
        Specified by:
        getConsumersPlanKeys in interface PlanParticleManager
        Parameters:
        planParticles - collection of PlanParticles
        Returns:
        Collection of Plan keys registered as planParticle consumers
      • getConsumersPlanKeys

        @NotNull
        public @NotNull Set<PlanKey> getConsumersPlanKeys​(@NotNull
                                                          @NotNull PlanKey planKey)
        Description copied from interface: PlanParticleManager
        Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
        Specified by:
        getConsumersPlanKeys in interface PlanParticleManager
        Parameters:
        planKey - identifies producer of particles
        Returns:
        Collection of Plan keys
      • getProducersPlanKeys

        @NotNull
        public @NotNull Set<PlanKey> getProducersPlanKeys​(Iterable<? extends PlanParticle> planParticles)
        Description copied from interface: PlanParticleManager
        Return collection of Plan keys registered as planParticle producers
        Specified by:
        getProducersPlanKeys in interface PlanParticleManager
        Parameters:
        planParticles - collection of PlanParticles
        Returns:
        Collection of Plan keys registered as planParticle producers
      • getProducersPlanKeys

        @NotNull
        public @NotNull Set<PlanKey> getProducersPlanKeys​(@NotNull
                                                          @NotNull PlanKey planKey)
        Description copied from interface: PlanParticleManager
        Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
        Specified by:
        getProducersPlanKeys in interface PlanParticleManager
        Parameters:
        planKey - identifies producer of particles
        Returns:
        Collection of Plan keys
      • removePlanParticles

        public void removePlanParticles​(@NotNull
                                        @NotNull PlanKey planKey)
        Description copied from interface: PlanParticleManager
        Removes all plan particles for a given plan. Needed when deleting the plan.
        Specified by:
        removePlanParticles in interface PlanParticleManager
        Parameters:
        planKey - to delete the particles of