Class BuildInfoProvider

java.lang.Object
com.hazelcast.instance.BuildInfoProvider

public final class BuildInfoProvider
extends Object
Provides information about current Hazelcast build.
  • Field Details

    • HAZELCAST_INTERNAL_OVERRIDE_VERSION

      public static final String HAZELCAST_INTERNAL_OVERRIDE_VERSION
      See Also:
      Constant Field Values
    • HAZELCAST_INTERNAL_OVERRIDE_ENTERPRISE

      public static final String HAZELCAST_INTERNAL_OVERRIDE_ENTERPRISE
      See Also:
      Constant Field Values
  • Method Details

    • getBuildInfo

      public static BuildInfo getBuildInfo()
      Parses hazelcast-runtime.properties for BuildInfo; also checks for overrides in System.properties. Never cache result of this method in a static context - as it can change due versions overriding - this method already does caching whenever it's possible - i.e. when overrides is disabled.
      Returns:
      the parsed BuildInfo