Interface CachedDeploymentsSynchronizationOrchestrator

All Known Implementing Classes:
CachedDeploymentsSynchronizationOrchestratorImpl

public interface CachedDeploymentsSynchronizationOrchestrator
Orchestrator interface for synchronizing cached deployments (projects + environments). Ensures the operations are executed both locally and on remote nodes.
Since:
11.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    synchronizeDeploymentProjects(@NotNull Set<Long> projectsToRefresh, @NotNull Set<Long> projectsToRemove)
    Synchronizes deployment projects in the cache by removing and refreshing them; both locally and on other cluster nodes.
    void
    synchronizeEnvironments(@NotNull Set<Long> requirementSets)
    Synchronizes environments in the cache based on the provided requirement set IDs.
    void
    synchronizeEnvironments(@NotNull Set<Long> environmentsToRefresh, @NotNull Set<Long> environmentsToRemove)
    Synchronizes environments by removing and refreshing them in the cache; both locally and on other cluster nodes.
  • Method Details

    • synchronizeEnvironments

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

      void synchronizeEnvironments(@NotNull @NotNull Set<Long> requirementSets)
      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.
      Parameters:
      requirementSets - the set of requirement set IDs whose associated environments need to be refreshed in the cache
    • synchronizeDeploymentProjects

      void synchronizeDeploymentProjects(@NotNull @NotNull Set<Long> projectsToRefresh, @NotNull @NotNull Set<Long> projectsToRemove)
      Synchronizes deployment projects in the cache by removing and refreshing them; both locally and on other cluster nodes.
      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