public static class ShardedConnection.ModHashPartitioner extends Object implements ShardedConnection.Partitioner
Constructor and Description |
---|
ModHashPartitioner() |
public int getShardIndex(Object key, int numShards)
getShardIndex
in interface ShardedConnection.Partitioner
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.