public void close(){
  if (cache != null) {
    CloseableUtils.closeQuietly(cache);
  }
  if (serviceDiscovery != null) {
    CloseableUtils.closeQuietly(serviceDiscovery);
  }
}

public void close ( ) { if ( cache != null ) { CloseableUtils . closeQuietly ( cache ) ; } if ( serviceDiscovery != null ) { CloseableUtils . closeQuietly ( serviceDiscovery ) ; } }
close the discoverer service
