public class ReplicaFeederHandshake extends Object
| Constructor and Description |
|---|
ReplicaFeederHandshake(ReplicaFeederHandshakeConfig conf)
An instance of this class is created with each new handshake preceding
the setting up of a connection.
|
| Modifier and Type | Method and Description |
|---|---|
Protocol |
execute()
Executes the replica side of the handshake.
|
JEVersion |
getFeederMinJEVersion()
Returns the minJEVersion of the group, or null if unknown (in
protocol versions < VERSION_7).
|
static void |
setTestLogVersion(int testLogVersion)
Set the current log version to a different value, for testing.
|
static void |
setTestProtocolVersion(int testProtocolVersion)
Set the current protocol version to a different value, for testing.
|
public ReplicaFeederHandshake(ReplicaFeederHandshakeConfig conf)
conf - handshake configuration with feederpublic static void setTestLogVersion(int testLogVersion)
0 reverts to the standard value.testLogVersion - the testing log version or 0public static void setTestProtocolVersion(int testProtocolVersion)
0 reverts to the standard value.public JEVersion getFeederMinJEVersion()
public Protocol execute() throws IOException, BinaryProtocol.ProtocolException
Copyright © 2024. All rights reserved.