Class AbstractNNFailoverProxyProvider.NNProxyInfo<T>
java.lang.Object
org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T>
org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider.NNProxyInfo<T>
- Enclosing class:
- AbstractNNFailoverProxyProvider<T>
public static class AbstractNNFailoverProxyProvider.NNProxyInfo<T>
extends org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T>
ProxyInfo to a NameNode. Includes its address.
-
Field Summary
Fields inherited from class org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo
proxy, proxyInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.ha.HAServiceProtocol.HAServiceStatevoidsetAddress(InetSocketAddress address) voidsetCachedState(org.apache.hadoop.ha.HAServiceProtocol.HAServiceState state) Methods inherited from class org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo
getString, toString
-
Constructor Details
-
NNProxyInfo
-
-
Method Details
-
getAddress
-
setCachedState
public void setCachedState(org.apache.hadoop.ha.HAServiceProtocol.HAServiceState state) -
getCachedState
public org.apache.hadoop.ha.HAServiceProtocol.HAServiceState getCachedState() -
setAddress
-