public final class DiscoveryProtocolVersion extends Object implements InvocationConstraint, Serializable
Modifier and Type | Field and Description |
---|---|
static DiscoveryProtocolVersion |
ONE
Use discovery protocol version 1.
|
static DiscoveryProtocolVersion |
TWO
Use discovery protocol version 2.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static DiscoveryProtocolVersion |
getInstance(int version)
Returns a
DiscoveryProtocolVersion constraint for the given version number. |
int |
getVersion()
Returns the protocol version number.
|
int |
hashCode() |
String |
toString() |
public static final DiscoveryProtocolVersion ONE
public static final DiscoveryProtocolVersion TWO
public static DiscoveryProtocolVersion getInstance(int version)
DiscoveryProtocolVersion
constraint for the given version number.public int getVersion()
Copyright © GigaSpaces.