public class RestTargetMigrator extends Object implements TargetMigrator
Constructor and Description |
---|
RestTargetMigrator() |
Modifier and Type | Method and Description |
---|---|
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
|
public String getName()
TargetMigrator
getName
in interface TargetMigrator
public long synchronizeData(Cache<Object,Object> cache) throws CacheException
TargetMigrator
synchronizeData
in interface TargetMigrator
CacheException
public void disconnectSource(Cache<Object,Object> cache) throws CacheException
TargetMigrator
disconnectSource
in interface TargetMigrator
CacheException
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.