Package org.glassfish.security.common
Interface HAUtil
-
- All Known Implementing Classes:
HAUtilImpl
@Contract public interface HAUtilHigh Availability Utilities for getting cluster and instance name- Author:
- vbkumarjayanti
- See Also:
org.glassfish.gms.bootstrap.GMSAdapterService
-
-
Method Summary
All Methods Instance Methods Abstract 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
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:
-
-