Package org.infinispan.upgrade
Interface TargetMigrator
-
public interface TargetMigrator
Performs migration operations on the target server or cluster of servers- Since:
- 5.2
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
disconnectSource(Cache<Object,Object> cache)
Disconnects the target from the source.String
getName()
Returns the name of this migratorlong
synchronizeData(Cache<Object,Object> cache)
Performs the synchronization of data between source and targetlong
synchronizeData(Cache<Object,Object> cache, int readBatch, int threads)
Performs the synchronization of data between source and target
-
-
-
Method Detail
-
getName
String getName()
Returns the name of this migrator
-
synchronizeData
long synchronizeData(Cache<Object,Object> cache) throws org.infinispan.commons.CacheException
Performs the synchronization of data between source and target- Throws:
org.infinispan.commons.CacheException
-
synchronizeData
long synchronizeData(Cache<Object,Object> cache, int readBatch, int threads) throws org.infinispan.commons.CacheException
Performs the synchronization of data between source and target- Throws:
org.infinispan.commons.CacheException
-
-