Class Version


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

      • version

        public String version()
      • brandName

        public String brandName()
      • getVersion

        public static String getVersion()
      • getBrandName

        public static String getBrandName()
      • getBrandVersion

        public static String getBrandVersion()
      • getCodename

        public static String getCodename()
      • getModuleSlot

        public static String getModuleSlot()
      • getMarshallVersion

        public static short getMarshallVersion()
      • getSchemaVersion

        public static String getSchemaVersion()
      • getMajorMinor

        public static String getMajorMinor()
      • getMajor

        public static String getMajor()
      • getMinor

        public static String getMinor()
      • compareTo

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

        public static short getVersionShort()
      • getVersionShort

        public static short getVersionShort​(String versionString)
      • decodeVersion

        public static String decodeVersion​(short version)
      • decodeVersionForSerialization

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

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

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

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