com.sleepycat.je.rep.stream
Class ReplicaFeederHandshake

java.lang.Object
  extended by com.sleepycat.je.rep.stream.ReplicaFeederHandshake

public class ReplicaFeederHandshake
extends Object

Implements the Replica side of the handshake protocol between the Replica and the Feeder. The FeederReplicaHandshake class takes care of the other side.

See Also:
FeederReplicaHandshake

Field Summary
(package private) static int MEMBERSHIP_RETRIES
           
(package private) static int MEMBERSHIP_RETRY_SLEEP_MS
           
 
Constructor Summary
ReplicaFeederHandshake(RepNode repNode, NamedChannel namedChannel)
          An instance of this class is created with each new handshake preceding the setting up of a connection.
 
Method Summary
 Protocol execute()
          Executes the replica side of the handshake.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MEMBERSHIP_RETRY_SLEEP_MS

static final int MEMBERSHIP_RETRY_SLEEP_MS
See Also:
Constant Field Values

MEMBERSHIP_RETRIES

static final int MEMBERSHIP_RETRIES
See Also:
Constant Field Values
Constructor Detail

ReplicaFeederHandshake

public ReplicaFeederHandshake(RepNode repNode,
                              NamedChannel namedChannel)
An instance of this class is created with each new handshake preceding the setting up of a connection.

Parameters:
repNode - the replication node
namedChannel - the channel to be used for the handshake
Method Detail

execute

public Protocol execute()
                 throws IOException,
                        BinaryProtocol.ProtocolException
Executes the replica side of the handshake.

Throws:
BinaryProtocol.ProtocolException
IOException


Copyright (c) 2004-2010 Oracle. All rights reserved.