com.sleepycat.je.rep.stream
Class FeederReplicaSyncup
java.lang.Object
com.sleepycat.je.rep.stream.FeederReplicaSyncup
public class FeederReplicaSyncup
- extends Object
Establish where the replication stream should start for a feeder and replica
pair. The Feeder's job is to send the replica the parts of the replication
stream it needs, so that the two can determine a common matchpoint.
If a successful matchpoint is found the feeder learns where to start the
replication stream for this replica.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeederReplicaSyncup
public FeederReplicaSyncup(Feeder feeder,
NamedChannel namedChannel,
Protocol protocol)
execute
public VLSN execute(LocalCBVLSNUpdater replicaCBVLSN)
throws DatabaseException,
IOException,
InterruptedException,
FeederReplicaSyncup.NetworkRestoreException,
ChecksumException
- The feeder's side of the protocol. Find out where to start the
replication stream.
- Returns:
- the VLSN to start the replication stream
- Throws:
InterruptedException
FeederReplicaSyncup.NetworkRestoreException
ChecksumException
DatabaseException
IOException
Copyright (c) 2004-2012 Oracle. All rights reserved.