/** * Uses consistent hashing to determine this node is the "owner" of a certain key. * * @param key * @return true if this node is assigned to "own" the key. */ public boolean isConsistentHashOwner(final String key) { final NodeAddress owner = getConsistentHashOwner(key); return clusterPeer.localAddress().equals(owner); }