@MetaInfServices public class HotRodTargetMigrator extends Object implements TargetMigrator
Constructor and Description |
---|
HotRodTargetMigrator() |
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
|
long |
synchronizeData(Cache<Object,Object> cache,
int readBatch,
int threads)
Performs the synchronization of data between source and target
|
public String getName()
TargetMigrator
getName
in interface TargetMigrator
public long synchronizeData(Cache<Object,Object> cache) throws CacheException
TargetMigrator
synchronizeData
in interface TargetMigrator
CacheException
public long synchronizeData(Cache<Object,Object> cache, int readBatch, int threads) throws CacheException
TargetMigrator
synchronizeData
in interface TargetMigrator
CacheException
public void disconnectSource(Cache<Object,Object> cache) throws CacheException
TargetMigrator
disconnectSource
in interface TargetMigrator
CacheException
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.