org.apache.hadoop.hdfs
Class NameNodeProxies.ProxyAndInfo<PROXYTYPE>

java.lang.Object
  extended by 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).


Constructor Summary
NameNodeProxies.ProxyAndInfo(PROXYTYPE proxy, org.apache.hadoop.io.Text dtService)
           
 
Method Summary
 org.apache.hadoop.io.Text getDelegationTokenService()
           
 PROXYTYPE getProxy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameNodeProxies.ProxyAndInfo

public NameNodeProxies.ProxyAndInfo(PROXYTYPE proxy,
                                    org.apache.hadoop.io.Text dtService)
Method Detail

getProxy

public PROXYTYPE getProxy()

getDelegationTokenService

public org.apache.hadoop.io.Text getDelegationTokenService()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.