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 StringgetClusterName()Gets the name of the shoal cluster, or null if the instance isn't clusteredStringgetInstanceName()Gets the name of the instance if GMS is present, otherwise nullbooleanisHAEnabled()Returns true if GMS is enabled with the high availability flag set to true
-
-
-
Method Detail
-
getClusterName
public String getClusterName()
Description copied from interface:HAUtilGets the name of the shoal cluster, or null if the instance isn't clustered- Specified by:
getClusterNamein interfaceHAUtil- Returns:
-
getInstanceName
public String getInstanceName()
Description copied from interface:HAUtilGets the name of the instance if GMS is present, otherwise null- Specified by:
getInstanceNamein interfaceHAUtil- Returns:
-
isHAEnabled
public boolean isHAEnabled()
Description copied from interface:HAUtilReturns true if GMS is enabled with the high availability flag set to true- Specified by:
isHAEnabledin interfaceHAUtil- Returns:
-
-