Interface DeploymentState

All Known Subinterfaces:
MutableDeploymentState
All Known Implementing Classes:
DbDeploymentState

public interface DeploymentState
  • Method Details

    • hasPendingDeploymentDistribution

      boolean hasPendingDeploymentDistribution(long deploymentKey)
      Returns whether there are any deployment distributions pending for a deployment.
      Parameters:
      deploymentKey - the key of the deployment that may have a pending distribution
      Returns:
      true if a pending deployment for the deployment key exists, otherwise false.
    • hasPendingDeploymentDistribution

      boolean hasPendingDeploymentDistribution(long deploymentKey, int partitionId)
      Returns whether a specific deployment distribution for a specific partition is pending.
      Parameters:
      deploymentKey - the key of the deployment that may have a pending distribution
      partitionId - the id of the partition to which the distribution might be pending
      Returns:
      true if the specific pending deployment exists, otherwise false.
    • getStoredDeploymentRecord

      DeploymentRecord getStoredDeploymentRecord(long deploymentKey)
    • foreachPendingDeploymentDistribution

      void foreachPendingDeploymentDistribution(DeploymentState.PendingDeploymentVisitor pendingDeploymentVisitor)