Interface HAUtil

  • All Known Implementing Classes:
    HAUtilImpl

    @Contract
    public interface HAUtil
    High Availability Utilities for getting cluster and instance name
    Author:
    vbkumarjayanti
    See Also:
    org.glassfish.gms.bootstrap.GMSAdapterService
    • Method Detail

      • getClusterName

        String getClusterName()
        Gets the name of the shoal cluster, or null if the instance isn't clustered
        Returns:
      • getInstanceName

        String getInstanceName()
        Gets the name of the instance if GMS is present, otherwise null
        Returns:
      • isHAEnabled

        boolean isHAEnabled()
        Returns true if GMS is enabled with the high availability flag set to true
        Returns: