Class MigrationTask
- java.lang.Object
-
- org.infinispan.persistence.remote.upgrade.MigrationTask
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMigrationTask.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 Integercall()voidsetEnvironment(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:DistributedCallableInvoked by execution environment after DistributedCallable has been migrated for execution to a specific Infinispan node.- Specified by:
setEnvironmentin 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
-
-