public class GroupingPartitioner extends Object implements KeyPartitioner
Group annotations to map
grouped keys to the same segment.| Constructor and Description |
|---|
GroupingPartitioner(KeyPartitioner partitioner,
GroupManager groupManager) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSegment(Object key)
Obtains the segment for a key.
|
KeyPartitioner |
unwrap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAsInt, init, matchespublic GroupingPartitioner(KeyPartitioner partitioner, GroupManager groupManager)
public int getSegment(Object key)
KeyPartitionergetSegment in interface KeyPartitionerpublic KeyPartitioner unwrap()
Copyright © 2021 JBoss by Red Hat. All rights reserved.