synchronized public void stop() { delegate.stop(); }
/** * Stop created policies. */ public void stop() { ListIterator<CachePolicy> iter = policies.listIterator(policies.size()); while(iter.hasPrevious()) { CachePolicy policy = iter.previous(); try { policy.stop(); } catch (Throwable t) { log.debug("Exception while stopping policy: " + policy + ", problem: " + t); } } }
public void stop() { // Empty the cache synchronized (getCacheLock()) { getCache().stop(); } } /* From Service interface*/