Class WriteManyCommandHelper<C extends WriteCommand,Container,Item>
java.lang.Object
org.infinispan.interceptors.distribution.WriteManyCommandHelper<C,Container,Item>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWriteManyCommandHelper(Function<WriteManyCommandHelper<C, ?, ?>, InvocationSuccessFunction<C>> createRemoteCallback) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaccumulate(Container container, Item item) abstract intcontainerSize(Container container) abstract CcopyForBackup(C cmd, LocalizedCacheTopology topology, Address target, org.infinispan.commons.util.IntSet segments) abstract CcopyForLocal(C cmd, Container container) abstract CcopyForPrimary(C cmd, LocalizedCacheTopology topology, org.infinispan.commons.util.IntSet segments) abstract Collection<Item>abstract Objectabstract Containerabstract booleanabstract ObjecttransformResult(Object[] results)
-
Field Details
-
remoteCallback
-
-
Constructor Details
-
WriteManyCommandHelper
protected WriteManyCommandHelper(Function<WriteManyCommandHelper<C, ?, ?>, InvocationSuccessFunction<C>> createRemoteCallback)
-
-
Method Details
-
getRemoteCallback
-
copyForLocal
-
copyForPrimary
public abstract C copyForPrimary(C cmd, LocalizedCacheTopology topology, org.infinispan.commons.util.IntSet segments) -
copyForBackup
public abstract C copyForBackup(C cmd, LocalizedCacheTopology topology, Address target, org.infinispan.commons.util.IntSet segments) -
getItems
-
item2key
-
newContainer
-
accumulate
-
containerSize
-
toKeys
-
shouldRegisterRemoteCallback
-
transformResult
-