/** * Shutdown call. * <p> * @param cacheName * @throws IOException */ @Override public void handleDispose( String cacheName ) throws IOException { cache.dispose(); } }
/** * Shutdown call. * <p> * @param cacheName * @throws IOException */ @Override public void handleDispose( String cacheName ) throws IOException { cache.dispose(); } }
/** * Releases. * <p> * @param name * @throws IOException */ public void freeCache( String name ) throws IOException { if ( log.isInfoEnabled() ) { log.info( "freeCache [" + name + "]" ); } ICache<?, ?> c = null; synchronized ( caches ) { c = caches.get( name ); } if ( c != null ) { this.removeRemoteCacheListener( name ); c.dispose(); } }