public interface SynchronizationStrategy extends Identifiable, Serializable
| Modifier and Type | Method and Description |
|---|---|
<Z,D extends Database<Z>> |
destroy(DatabaseCluster<Z,D> cluster) |
<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.
|
getId<Z,D extends Database<Z>> void init(DatabaseCluster<Z,D> cluster)
<Z,D extends Database<Z>> void synchronize(SynchronizationContext<Z,D> context) throws SQLException
Z - D - context - a synchronization contextSQLException - if synchronization fails<Z,D extends Database<Z>> void destroy(DatabaseCluster<Z,D> cluster)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.