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 void
disconnectSource(Cache<Object,Object> cache)
Deprecated.Disconnects the target from the source.String
getName()
Deprecated.Returns the name of this migratorlong
synchronizeData(Cache<Object,Object> cache)
Deprecated.Performs the synchronization of data between source and targetlong
synchronizeData(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:TargetMigrator
Returns the name of this migrator- Specified by:
getName
in interfaceTargetMigrator
-
synchronizeData
public long synchronizeData(Cache<Object,Object> cache) throws CacheException
Deprecated.Description copied from interface:TargetMigrator
Performs the synchronization of data between source and target- Specified by:
synchronizeData
in interfaceTargetMigrator
- Throws:
CacheException
-
synchronizeData
public long synchronizeData(Cache<Object,Object> cache, int readBatch, int threads) throws CacheException
Deprecated.Description copied from interface:TargetMigrator
Performs the synchronization of data between source and target- Specified by:
synchronizeData
in interfaceTargetMigrator
- Throws:
CacheException
-
disconnectSource
public void disconnectSource(Cache<Object,Object> cache) throws CacheException
Deprecated.Description copied from interface:TargetMigrator
Disconnects the target from the source. This operation is the last step that must be performed after a rolling upgrade.- Specified by:
disconnectSource
in interfaceTargetMigrator
- Throws:
CacheException
-
-