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, wait
applyAsInt, init, matches
public GroupingPartitioner(KeyPartitioner partitioner, GroupManager groupManager)
public int getSegment(Object key)
KeyPartitioner
getSegment
in interface KeyPartitioner
public KeyPartitioner unwrap()
Copyright © 2021 JBoss by Red Hat. All rights reserved.