public int pendingDeployments() {
        return pendingDeployments.size();
    }
Returns the number of deployments that are pending execution
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/ApplicationMaintainer.java