code: public UUID getHostId(InetAddress endpoint)
      {
          lock.readLock().lock();
          try
          {
              return endpointToHostIdMap.get(endpoint);
          }
          finally
          {
              lock.readLock().unlock();
          }
      }
docs: Return the unique host ID for an end-point.