com.sleepycat.je.rep.stream
Class FeederReplicaSyncup

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


Nested Class Summary
static class FeederReplicaSyncup.NetworkRestoreException
           
 
Constructor Summary
FeederReplicaSyncup(Feeder feeder, NamedChannel namedChannel, Protocol protocol)
           
 
Method Summary
 VLSN execute(LocalCBVLSNUpdater replicaCBVLSN)
          The feeder's side of the protocol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeederReplicaSyncup

public FeederReplicaSyncup(Feeder feeder,
                           NamedChannel namedChannel,
                           Protocol protocol)
Method Detail

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-2010 Oracle. All rights reserved.