Package | Description |
---|---|
org.apache.hadoop.ha |
Modifier and Type | Method and Description |
---|---|
HAServiceProtocol |
HAServiceTarget.getHealthMonitorProxy(Configuration conf,
int timeoutMs)
Returns a proxy to connect to the target HA service for health monitoring.
|
HAServiceProtocol |
HAServiceTarget.getHealthMonitorProxy(Configuration conf,
int timeoutMs,
int retries) |
HAServiceProtocol |
HAServiceTarget.getProxy(Configuration conf,
int timeoutMs) |
Modifier and Type | Method and Description |
---|---|
static void |
HAServiceProtocolHelper.monitorHealth(HAServiceProtocol svc,
org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo reqInfo) |
static void |
HAServiceProtocolHelper.transitionToActive(HAServiceProtocol svc,
org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo reqInfo) |
static void |
HAServiceProtocolHelper.transitionToObserver(HAServiceProtocol svc,
org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo reqInfo) |
static void |
HAServiceProtocolHelper.transitionToStandby(HAServiceProtocol svc,
org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo reqInfo) |
Copyright © 2023 Apache Software Foundation. All rights reserved.