Package org.glassfish.web.ha
Class HAUtilImpl
- java.lang.Object
-
- org.glassfish.web.ha.HAUtilImpl
-
-
Constructor Summary
Constructors Constructor Description HAUtilImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClusterName()
Gets the name of the shoal cluster, or null if the instance isn't clusteredString
getInstanceName()
Gets the name of the instance if GMS is present, otherwise nullboolean
isHAEnabled()
Returns true if GMS is enabled with the high availability flag set to true
-
-
-
Method Detail
-
getClusterName
public String getClusterName()
Description copied from interface:HAUtil
Gets the name of the shoal cluster, or null if the instance isn't clustered- Specified by:
getClusterName
in interfaceHAUtil
- Returns:
-
getInstanceName
public String getInstanceName()
Description copied from interface:HAUtil
Gets the name of the instance if GMS is present, otherwise null- Specified by:
getInstanceName
in interfaceHAUtil
- Returns:
-
isHAEnabled
public boolean isHAEnabled()
Description copied from interface:HAUtil
Returns true if GMS is enabled with the high availability flag set to true- Specified by:
isHAEnabled
in interfaceHAUtil
- Returns:
-
-