code: @Override
  	public void stopped() {
  
  		// Close the cache manager
  		if (cacheManager != null) {
  			try {
  				cacheManager.close();
  			} catch (Exception ignored) {
  			}
  			cacheManager = null;
  		}
  
  		// Clear partitions
  		final long stamp = lock.writeLock();
  		try {
  			partitions.clear();
  		} finally {
  			lock.unlockWrite(stamp);
  		}
  	}
docs: --- STOP CACHER ---