org.infinispan.upgrade.hotrod
Class HotRodTargetMigrator
java.lang.Object
org.infinispan.upgrade.hotrod.HotRodTargetMigrator
- All Implemented Interfaces:
- TargetMigrator
public class HotRodTargetMigrator
- extends Object
- implements TargetMigrator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HotRodTargetMigrator
public HotRodTargetMigrator()
getName
public String getName()
- Description copied from interface:
TargetMigrator
- Returns the name of this migrator
- Specified by:
getName
in interface TargetMigrator
synchronizeData
public long synchronizeData(Cache<Object,Object> cache)
throws CacheException
- Description copied from interface:
TargetMigrator
- Performs the synchronization of data between source and target by retrieving the set of known keys and fetching each key in turn
- Specified by:
synchronizeData
in interface TargetMigrator
- Throws:
CacheException
disconnectSource
public void disconnectSource(Cache<Object,Object> cache)
throws CacheException
- 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 interface TargetMigrator
- Throws:
CacheException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.