Package org.glassfish.security.common
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 Summary
All Methods Instance Methods Abstract 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
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:
-
-