org.elasticsearch.cluster.routing.operation.hash.simple
Class SimpleHashFunction
java.lang.Object
org.elasticsearch.cluster.routing.operation.hash.simple.SimpleHashFunction
- All Implemented Interfaces:
- HashFunction
public class SimpleHashFunction
- extends Object
- implements HashFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleHashFunction
public SimpleHashFunction()
hash
public int hash(String routing)
- Specified by:
hash
in interface HashFunction
hash
public int hash(String type,
String id)
- Specified by:
hash
in interface HashFunction
Copyright © 2009-2012. All Rights Reserved.