Class RestTargetMigrator
- java.lang.Object
-
- org.infinispan.persistence.rest.upgrade.RestTargetMigrator
-
- All Implemented Interfaces:
TargetMigrator
@MetaInfServices @Deprecated public class RestTargetMigrator extends Object implements TargetMigrator
Deprecated.This migrator should no longer be used and the HotRodTargetMigrator should be used instead
-
-
Constructor Summary
Constructors Constructor Description RestTargetMigrator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddisconnectSource(Cache<Object,Object> cache)Deprecated.Disconnects the target from the source.StringgetName()Deprecated.Returns the name of this migratorlongsynchronizeData(Cache<Object,Object> cache)Deprecated.Performs the synchronization of data between source and targetlongsynchronizeData(Cache<Object,Object> cache, int readBatch, int threads)Deprecated.Performs the synchronization of data between source and target
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.Description copied from interface:TargetMigratorReturns the name of this migrator- Specified by:
getNamein interfaceTargetMigrator
-
synchronizeData
public long synchronizeData(Cache<Object,Object> cache) throws CacheException
Deprecated.Description copied from interface:TargetMigratorPerforms the synchronization of data between source and target- Specified by:
synchronizeDatain interfaceTargetMigrator- Throws:
CacheException
-
synchronizeData
public long synchronizeData(Cache<Object,Object> cache, int readBatch, int threads) throws CacheException
Deprecated.Description copied from interface:TargetMigratorPerforms the synchronization of data between source and target- Specified by:
synchronizeDatain interfaceTargetMigrator- Throws:
CacheException
-
disconnectSource
public void disconnectSource(Cache<Object,Object> cache) throws CacheException
Deprecated.Description copied from interface:TargetMigratorDisconnects the target from the source. This operation is the last step that must be performed after a rolling upgrade.- Specified by:
disconnectSourcein interfaceTargetMigrator- Throws:
CacheException
-
-