public class ClusterEventCallable<K,V> extends Object implements DistributedCallable<K,V,Void>
Modifier and Type | Class and Description |
---|---|
static class |
ClusterEventCallable.Externalizer |
Constructor and Description |
---|
ClusterEventCallable(UUID identifier,
ClusterEvent<K,V> event) |
ClusterEventCallable(UUID identifier,
Collection<? extends 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 ClusterEventCallable(UUID identifier, ClusterEvent<K,V> event)
public ClusterEventCallable(UUID identifier, Collection<? extends 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 © 2016 JBoss, a division of Red Hat. All rights reserved.