public class FastDifferentialSynchronizationStrategy extends Object implements SynchronizationStrategy
Constructor and Description |
---|
FastDifferentialSynchronizationStrategy() |
Modifier and Type | Method and Description |
---|---|
<Z,D extends Database<Z>> |
destroy(DatabaseCluster<Z,D> cluster) |
String |
getId() |
<Z,D extends Database<Z>> |
init(DatabaseCluster<Z,D> cluster) |
<Z,D extends Database<Z>> |
synchronize(SynchronizationContext<Z,D> context)
Synchronizes a target database with a source database as defined by the synchronization context.
|
public FastDifferentialSynchronizationStrategy()
public String getId()
getId
in interface Identifiable
public <Z,D extends Database<Z>> void init(DatabaseCluster<Z,D> cluster)
init
in interface SynchronizationStrategy
SynchronizationStrategy.init(net.sf.hajdbc.DatabaseCluster)
public <Z,D extends Database<Z>> void synchronize(SynchronizationContext<Z,D> context)
synchronize
in interface SynchronizationStrategy
context
- a synchronization contextSynchronizationStrategy.synchronize(net.sf.hajdbc.sync.SynchronizationContext)
public <Z,D extends Database<Z>> void destroy(DatabaseCluster<Z,D> cluster)
destroy
in interface SynchronizationStrategy
SynchronizationStrategy.destroy(net.sf.hajdbc.DatabaseCluster)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.