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 TypeMethodDescriptionintbooleanstatic NodeVersionfrom(byte major, byte minor, byte patch) static NodeVersionbytegetMajor()bytegetMinor()bytegetPatch()inthashCode()booleanlessThan(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:
compareToin interfaceComparable<NodeVersion>
-
equals
-
hashCode
-
toString
-