public class MultiClusterEventCallable<K,V> extends Object implements DistributedCallable<K,V,Void>
Modifier and Type | Class and Description |
---|---|
static class |
MultiClusterEventCallable.Externalizer |
Constructor and Description |
---|
MultiClusterEventCallable(Map<UUID,Collection<ClusterEvent<K,V>>> events) |
Modifier and Type | Method and Description |
---|---|
Void |
call() |
void |
setEnvironment(Cache<K,V> cache,
Set<K> inputKeys)
Invoked by execution environment after DistributedCallable has been migrated for execution to
a specific Infinispan node.
|
public MultiClusterEventCallable(Map<UUID,Collection<ClusterEvent<K,V>>> events)
public void setEnvironment(Cache<K,V> cache, Set<K> inputKeys)
DistributedCallable
setEnvironment
in interface DistributedCallable<K,V,Void>
cache
- cache whose keys are used as input data for this DistributedCallable taskinputKeys
- keys used as input for this DistributedCallable taskCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.