org.apache.hadoop.security.protocolPB
Class RefreshUserMappingsProtocolClientSideTranslatorPB
java.lang.Object
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
Fields inherited from interface org.apache.hadoop.security.RefreshUserMappingsProtocol |
versionID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefreshUserMappingsProtocolClientSideTranslatorPB
public RefreshUserMappingsProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshUserMappingsProtocolPB rpcProxy)
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 © 2013 Apache Software Foundation. All Rights Reserved.