net.sf.hajdbc.sync
Class PassiveSynchronizationStrategy

java.lang.Object
  extended by 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

Constructor Summary
PassiveSynchronizationStrategy()
           
 
Method Summary
<D> void
synchronize(SynchronizationContext<D> context)
          Synchronizes a target database with a source database as defined by the synchronization context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassiveSynchronizationStrategy

public PassiveSynchronizationStrategy()
Method Detail

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)