@InterfaceAudience.Public @InterfaceStability.Evolving public class HAServiceProtocolHelper extends Object
HAServiceProtocol RPC calls. This helper
 unwraps the RemoteException to specific exceptions.| Constructor and Description | 
|---|
HAServiceProtocolHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
monitorHealth(HAServiceProtocol svc,
             HAServiceProtocol.StateChangeRequestInfo reqInfo)  | 
static void | 
transitionToActive(HAServiceProtocol svc,
                  HAServiceProtocol.StateChangeRequestInfo reqInfo)  | 
static void | 
transitionToStandby(HAServiceProtocol svc,
                   HAServiceProtocol.StateChangeRequestInfo reqInfo)  | 
public static void monitorHealth(HAServiceProtocol svc, HAServiceProtocol.StateChangeRequestInfo reqInfo) throws IOException
IOExceptionpublic static void transitionToActive(HAServiceProtocol svc, HAServiceProtocol.StateChangeRequestInfo reqInfo) throws IOException
IOExceptionpublic static void transitionToStandby(HAServiceProtocol svc, HAServiceProtocol.StateChangeRequestInfo reqInfo) throws IOException
IOExceptionCopyright © 2018 Apache Software Foundation. All Rights Reserved.