@Override
	public void remove(Resource resource) {
		checkNotNull(resource,"Resource cannot be null");
		lock.writeLock().lock();
		try {
			resources.remove(resource.id());
			containers.remove(resource.id());
		} finally {
			lock.writeLock().unlock();
		}
	}
@Override
	public void remove(Resource resource) {
		checkNotNull(resource,"Resource cannot be null");
		lock.writeLock().lock();
		try {
			resources.remove(resource.id());
			containers.remove(resource.id());
		} finally {
			lock.writeLock().unlock();
		}
	}
@ Override public void remove ( Resource resource ) { checkNotNull ( resource , "Resource cannot be null" ) ; lock . writeLock ( ) . lock ( ) ; try { resources . remove ( resource . id ( ) ) ; containers . remove ( resource . id ( ) ) ; } finally { lock . writeLock ( ) . unlock ( ) ; } }
{@inheritDoc}
{