public class SingleSegmentKeyPartitioner extends Object implements KeyPartitioner
Modifier and Type | Method and Description |
---|---|
static SingleSegmentKeyPartitioner |
getInstance() |
int |
getSegment(Object key)
Obtains the segment for a key.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyAsInt, init, matches
public static SingleSegmentKeyPartitioner getInstance()
public int getSegment(Object key)
KeyPartitioner
getSegment
in interface KeyPartitioner
Copyright © 2021 JBoss by Red Hat. All rights reserved.