Class Version


  • @Immutable
    public class Version
    extends java.lang.Object
    Contains version information about this release of Infinispan.
    Since:
    4.0
    Author:
    Bela Ban
    • Method Detail

      • getVersion

        public static java.lang.String getVersion()
      • getBrandName

        public static java.lang.String getBrandName()
      • getCodename

        public static java.lang.String getCodename()
      • getModuleSlot

        public static java.lang.String getModuleSlot()
      • getMarshallVersion

        public static short getMarshallVersion()
      • getSchemaVersion

        public static java.lang.String getSchemaVersion()
      • getMajorMinor

        public static java.lang.String getMajorMinor()
      • getMajor

        public static java.lang.String getMajor()
      • compareTo

        public static boolean compareTo​(byte[] v)
      • getVersionShort

        public static short getVersionShort()
      • getVersionShort

        public static short getVersionShort​(java.lang.String versionString)
      • decodeVersion

        public static java.lang.String decodeVersion​(short version)
      • decodeVersionForSerialization

        public static java.lang.String decodeVersionForSerialization​(short version)
        Serialization only looks at major and minor, not micro or below.
      • main

        public static void main​(java.lang.String[] args)
        Prints version information.
      • printFullVersionInformation

        public static void printFullVersionInformation()
        Prints full version information to the standard output.
      • printVersion

        public static java.lang.String printVersion()
        Returns version information as a string.