org.modeshape.jcr
Class InfinispanUtil.KeyMerger<K>
java.lang.Object
org.modeshape.jcr.InfinispanUtil.KeyMerger<K>
- Type Parameters:
K
- the type of key
- All Implemented Interfaces:
- InfinispanUtil.Combiner<Set<K>>
- Enclosing class:
- InfinispanUtil
protected static class InfinispanUtil.KeyMerger<K>
- extends Object
- implements InfinispanUtil.Combiner<Set<K>>
Since keys can appear more than one time e.g. multiple owners in a distributed cache, they all must be merged into a Set.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfinispanUtil.KeyMerger
protected InfinispanUtil.KeyMerger()
combine
public Set<K> combine(Set<K> priorResult,
Set<K> newResult)
- Specified by:
combine
in interface InfinispanUtil.Combiner<Set<K>>
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.