@Override
	public Endpoint endpointOfResource(ResourceId id) {
		this.readLock.lock();
		try {
			Endpoint endpoint = this.endpointsByResourceName.get(id);
			if(endpoint!=null && endpoint.deleted()!=null) {
				endpoint=null;
			}
			return endpoint;
		} finally {
			this.readLock.unlock();
		}
	}
@Override
	public Endpoint endpointOfResource(ResourceId id) {
		this.readLock.lock();
		try {
			Endpoint endpoint = this.endpointsByResourceName.get(id);
			if(endpoint!=null && endpoint.deleted()!=null) {
				endpoint=null;
			}
			return endpoint;
		} finally {
			this.readLock.unlock();
		}
	}
@ Override public Endpoint endpointOfResource ( ResourceId id ) { this . readLock . lock ( ) ; try { Endpoint endpoint = this . endpointsByResourceName . get ( id ) ; if ( endpoint != null && endpoint . deleted ( ) != null ) { endpoint = null ; } return endpoint ; } finally { this . readLock . unlock ( ) ; } }
{@inheritDoc}
{