|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.v0_6.impl.Replicator
public class Replicator
Replicates changes from the database utilising transaction snapshots.
Constructor Summary | |
---|---|
Replicator(ReplicationSource source,
ReplicationDestination destination,
TransactionSnapshotLoader snapshotLoader,
SystemTimeLoader systemTimeLoader)
Creates a new instance. |
Method Summary | |
---|---|
void |
replicate()
Replicates the next set of changes from the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Replicator(ReplicationSource source, ReplicationDestination destination, TransactionSnapshotLoader snapshotLoader, SystemTimeLoader systemTimeLoader)
source
- The source for all replication changes.destination
- The destination for all replicated changes.snapshotLoader
- Loads transaction snapshots from the database.systemTimeLoader
- Loads the current system time from the database.Method Detail |
---|
public void replicate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |