com.sleepycat.je.rep.stream
Class ReplicaFeederHandshake
java.lang.Object
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
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 |
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
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 nodenamedChannel
- the channel to be used for the handshake
execute
public Protocol execute()
throws IOException,
BinaryProtocol.ProtocolException
- Executes the replica side of the handshake.
- Throws:
BinaryProtocol.ProtocolException
IOException
Copyright (c) 2004-2012 Oracle. All rights reserved.