Class CachedDeploymentsSynchronizationOrchestratorImpl

java.lang.Object
com.atlassian.bamboo.deployments.cache.CachedDeploymentsSynchronizationOrchestratorImpl
All Implemented Interfaces:
CachedDeploymentsSynchronizationOrchestrator

public class CachedDeploymentsSynchronizationOrchestratorImpl extends Object implements CachedDeploymentsSynchronizationOrchestrator
  • Constructor Details

  • Method Details

    • synchronizeEnvironments

      public void synchronizeEnvironments(@NotNull @NotNull Set<Long> environmentsToRefresh, @NotNull @NotNull Set<Long> environmentsToRemove)
      Description copied from interface: CachedDeploymentsSynchronizationOrchestrator
      Synchronizes environments by removing and refreshing them in the cache; both locally and on other cluster nodes.
      Specified by:
      synchronizeEnvironments in interface CachedDeploymentsSynchronizationOrchestrator
      Parameters:
      environmentsToRefresh - the set of environment IDs to refresh in the cache
      environmentsToRemove - the set of environment IDs to remove from the cache
    • synchronizeEnvironments

      public void synchronizeEnvironments(@NotNull @NotNull Set<Long> requirementSets)
      Description copied from interface: CachedDeploymentsSynchronizationOrchestrator
      Synchronizes environments in the cache based on the provided requirement set IDs. This method ensures that the environments associated with the given requirement sets are refreshed in the cache both locally and on other cluster nodes.
      Specified by:
      synchronizeEnvironments in interface CachedDeploymentsSynchronizationOrchestrator
      Parameters:
      requirementSets - the set of requirement set IDs whose associated environments need to be refreshed in the cache
    • synchronizeDeploymentProjects

      public void synchronizeDeploymentProjects(@NotNull @NotNull Set<Long> projectsToRefresh, @NotNull @NotNull Set<Long> projectsToRemove)
      Description copied from interface: CachedDeploymentsSynchronizationOrchestrator
      Synchronizes deployment projects in the cache by removing and refreshing them; both locally and on other cluster nodes.
      Specified by:
      synchronizeDeploymentProjects in interface CachedDeploymentsSynchronizationOrchestrator
      Parameters:
      projectsToRefresh - the set of deployment project IDs to refresh in the cache
      projectsToRemove - the set of deployment project IDs to remove from the cache