Class NodeVersion
java.lang.Object
org.infinispan.remoting.transport.NodeVersion
- All Implemented Interfaces:
Comparable<NodeVersion>
A DTO class used to represent the basic major, minor and patch values of an instance's
Version
over the wire.- Since:
- 16.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
static NodeVersion
from
(byte major, byte minor, byte patch) static NodeVersion
byte
getMajor()
byte
getMinor()
byte
getPatch()
int
hashCode()
boolean
lessThan
(NodeVersion other) toString()
-
Field Details
-
SIXTEEN
-
INSTANCE
-
-
Method Details
-
from
-
from
-
getMajor
@ProtoField(value=1, defaultValue="0") public byte getMajor() -
getMinor
@ProtoField(value=2, defaultValue="0") public byte getMinor() -
getPatch
@ProtoField(value=3, defaultValue="0") public byte getPatch() -
lessThan
-
compareTo
- Specified by:
compareTo
in interfaceComparable<NodeVersion>
-
equals
-
hashCode
-
toString
-