org.apache.hadoop.security.protocolPB
Class RefreshUserMappingsProtocolClientSideTranslatorPB

java.lang.Object
  extended by org.apache.hadoop.security.protocolPB.RefreshUserMappingsProtocolClientSideTranslatorPB
All Implemented Interfaces:
Closeable, org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.security.RefreshUserMappingsProtocol

public class RefreshUserMappingsProtocolClientSideTranslatorPB
extends Object
implements org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.security.RefreshUserMappingsProtocol, Closeable


Field Summary
 
Fields inherited from interface org.apache.hadoop.security.RefreshUserMappingsProtocol
versionID
 
Constructor Summary
RefreshUserMappingsProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshUserMappingsProtocolPB rpcProxy)
           
 
Method Summary
 void close()
           
 boolean isMethodSupported(String methodName)
          Checks whether the given method name is supported by the server.
 void refreshSuperUserGroupsConfiguration()
          Refresh superuser proxy group list
 void refreshUserToGroupsMappings()
          Refresh user to group mappings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshUserMappingsProtocolClientSideTranslatorPB

public RefreshUserMappingsProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshUserMappingsProtocolPB rpcProxy)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

refreshUserToGroupsMappings

public void refreshUserToGroupsMappings()
                                 throws IOException
Description copied from interface: org.apache.hadoop.security.RefreshUserMappingsProtocol
Refresh user to group mappings.

Specified by:
refreshUserToGroupsMappings in interface org.apache.hadoop.security.RefreshUserMappingsProtocol
Throws:
IOException

refreshSuperUserGroupsConfiguration

public void refreshSuperUserGroupsConfiguration()
                                         throws IOException
Description copied from interface: org.apache.hadoop.security.RefreshUserMappingsProtocol
Refresh superuser proxy group list

Specified by:
refreshSuperUserGroupsConfiguration in interface org.apache.hadoop.security.RefreshUserMappingsProtocol
Throws:
IOException

isMethodSupported

public boolean isMethodSupported(String methodName)
                          throws IOException
Description copied from interface: org.apache.hadoop.ipc.ProtocolMetaInterface
Checks whether the given method name is supported by the server. It is assumed that all method names are unique for a protocol.

Specified by:
isMethodSupported in interface org.apache.hadoop.ipc.ProtocolMetaInterface
Parameters:
methodName - The name of the method
Returns:
true if method is supported, otherwise false.
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.