Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.upgrade.hotrod
Class HotRodTargetMigrator

java.lang.Object
  extended by org.infinispan.upgrade.hotrod.HotRodTargetMigrator
All Implemented Interfaces:
TargetMigrator

public class HotRodTargetMigrator
extends Object
implements TargetMigrator


Constructor Summary
HotRodTargetMigrator()
           
 
Method Summary
 void disconnectSource(Cache<Object,Object> cache)
          Disconnects the target from the source.
 String getName()
          Returns the name of this migrator
 long synchronizeData(Cache<Object,Object> cache)
          Performs the synchronization of data between source and target by retrieving the set of known keys and fetching each key in turn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotRodTargetMigrator

public HotRodTargetMigrator()
Method Detail

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

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.