|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.cluster.routing.operation.hash.simple.SimpleHashFunction
public class SimpleHashFunction
Constructor Summary | |
---|---|
SimpleHashFunction()
|
Method Summary | |
---|---|
int |
hash(java.lang.String routing)
|
int |
hash(java.lang.String type,
java.lang.String id)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleHashFunction()
Method Detail |
---|
public int hash(java.lang.String routing)
hash
in interface HashFunction
public int hash(java.lang.String type, java.lang.String id)
hash
in interface HashFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |