public DeploymentCache deployments ( long applicationId ) { DeploymentCache cache = deployments . get ( applicationId ) ; if ( cache == null ) deployments . put ( applicationId , cache = new DeploymentCache ( applicationId ) ) ; return cache ; }
Returns the cache of deployments for the given application creating one if it doesn t exist .