public class ConnectionAdderTask extends Object implements DistributedCallable<Object,Object,Integer>, scala.Serializable
Constructor and Description |
---|
ConnectionAdderTask(String serverName) |
Modifier and Type | Method and Description |
---|---|
Cache<Object,Object> |
cache() |
Integer |
call() |
void |
setEnvironment(Cache<Object,Object> cache,
Set<Object> inputKeys)
Invoked by execution environment after DistributedCallable has been migrated for execution to
a specific Infinispan node.
|
public ConnectionAdderTask(String serverName)
public void setEnvironment(Cache<Object,Object> cache, Set<Object> inputKeys)
DistributedCallable
setEnvironment
in interface DistributedCallable<Object,Object,Integer>
cache
- cache whose keys are used as input data for this DistributedCallable taskinputKeys
- keys used as input for this DistributedCallable taskCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.