Modifier and Type | Class and Description |
---|---|
static class |
MigrationTask.Externalizer |
Constructor and Description |
---|
MigrationTask(Set<Integer> segments,
int readBatch,
int threads) |
Modifier and Type | Method and Description |
---|---|
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 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 © 2017 JBoss, a division of Red Hat. All rights reserved.