@Override
 public Address getPrimaryOwner(Object key) {
   return stateTransferManager
       .getCacheTopology()
       .getWriteConsistentHash()
       .locatePrimaryOwner(key);
 }
 @Override
 public boolean localNodeIsOwner(Object key) {
   return stateTransferManager
       .getCacheTopology()
       .getWriteConsistentHash()
       .isKeyLocalToNode(rpcManager.getAddress(), key);
 }
 @Override
 public boolean localNodeIsPrimaryOwner(Object key) {
   return stateTransferManager
       .getCacheTopology()
       .getWriteConsistentHash()
       .locatePrimaryOwner(key)
       .equals(rpcManager.getAddress());
 }
 private boolean isKeyLocal(Object key) {
   return stateTransferManager
       .getCacheTopology()
       .getReadConsistentHash()
       .isKeyLocalToNode(cdl.getAddress(), key);
 }