Class MigrationTask
- java.lang.Object
-
- org.infinispan.persistence.remote.upgrade.MigrationTask
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MigrationTask.Externalizer
-
Constructor Summary
Constructors Constructor Description MigrationTask(Set<Integer> segments, int readBatch, int threads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setEnvironment
public void setEnvironment(Cache<Object,Object> cache, Set<Object> inputKeys)
Description copied from interface:DistributedCallable
Invoked by execution environment after DistributedCallable has been migrated for execution to a specific Infinispan node.- Specified by:
setEnvironment
in interfaceDistributedCallable<Object,Object,Integer>
- Parameters:
cache
- cache whose keys are used as input data for this DistributedCallable taskinputKeys
- keys used as input for this DistributedCallable task
-
-