|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.replication.protocol.ProtocolVersion
public class ProtocolVersion
The version utility class for the replication protocol.
Constructor Summary | |
---|---|
ProtocolVersion()
|
Method Summary | |
---|---|
static short |
currentVersion()
Specifies the current version of the replication protocol. |
static short |
minWithCurrent(short version)
Specifies the oldest version of the protocol from the provided one and the current one. |
static void |
setCurrentVersion(short currentVersion)
For test purpose. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtocolVersion()
Method Detail |
---|
public static short currentVersion()
public static void setCurrentVersion(short currentVersion)
currentVersion
- The provided current version.public static short minWithCurrent(short version)
version
- The version to be compared to the current one.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |