public boolean isCacheContainer ( String cacheContainerName ) throws Exception { Address addr = Address . root ( ) . add ( SUBSYSTEM , SUBSYSTEM_INFINISPAN ) ; String haystack = CACHE_CONTAINER ; return null != findNodeInList ( addr , haystack , cacheContainerName ) ; }
Checks to see if there is already a cache container with the given name .