code: private Integer getKeyPartitionId(byte[] key) {
          Integer keyPartitionId = storeInstance.getNodesPartitionIdForKey(nodeId, key);
  
          Utils.notNull(keyPartitionId);
          return keyPartitionId;
      }
docs: Given the key, figures out which partition on the local node hosts the key.
  
  @param key
  @return