net.sf.hajdbc.sync
Class PassiveSynchronizationStrategy
java.lang.Object
net.sf.hajdbc.sync.PassiveSynchronizationStrategy
- All Implemented Interfaces:
- SynchronizationStrategy
public class PassiveSynchronizationStrategy
- extends Object
- implements SynchronizationStrategy
Trivial SynchronizationStrategy implementation that assumes that the inactive database is already in sync.
- Since:
- 1.0
- Author:
- Paul Ferraro
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassiveSynchronizationStrategy
public PassiveSynchronizationStrategy()
synchronize
public <D> void synchronize(SynchronizationContext<D> context)
- Description copied from interface:
SynchronizationStrategy
- Synchronizes a target database with a source database as defined by the synchronization context.
- Specified by:
synchronize in interface SynchronizationStrategy
- Parameters:
context - a synchronization context- See Also:
SynchronizationStrategy.synchronize(net.sf.hajdbc.SynchronizationContext)