org.apache.hadoop.hdfs
Class NameNodeProxies.ProxyAndInfo<PROXYTYPE>
java.lang.Object
org.apache.hadoop.hdfs.NameNodeProxies.ProxyAndInfo<PROXYTYPE>
- Enclosing class:
- NameNodeProxies
public static class NameNodeProxies.ProxyAndInfo<PROXYTYPE>
- extends Object
Wrapper for a client proxy as well as its associated service ID.
This is simply used as a tuple-like return type for
NameNodeProxies.createProxy(org.apache.hadoop.conf.Configuration, java.net.URI, java.lang.Class)
and
NameNodeProxies.createNonHAProxy(org.apache.hadoop.conf.Configuration, java.net.InetSocketAddress, java.lang.Class, org.apache.hadoop.security.UserGroupInformation, boolean)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameNodeProxies.ProxyAndInfo
public NameNodeProxies.ProxyAndInfo(PROXYTYPE proxy,
org.apache.hadoop.io.Text dtService)
getProxy
public PROXYTYPE getProxy()
getDelegationTokenService
public org.apache.hadoop.io.Text getDelegationTokenService()
Copyright © 2013 Apache Software Foundation. All Rights Reserved.