public class RefreshUserMappingsProtocolClientSideTranslatorPB extends Object implements org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.security.RefreshUserMappingsProtocol, Closeable
Constructor and Description |
---|
RefreshUserMappingsProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshUserMappingsProtocolPB rpcProxy) |
Modifier and Type | Method and Description |
---|---|
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.
|
public RefreshUserMappingsProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshUserMappingsProtocolPB rpcProxy)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void refreshUserToGroupsMappings() throws IOException
org.apache.hadoop.security.RefreshUserMappingsProtocol
refreshUserToGroupsMappings
in interface org.apache.hadoop.security.RefreshUserMappingsProtocol
IOException
public void refreshSuperUserGroupsConfiguration() throws IOException
org.apache.hadoop.security.RefreshUserMappingsProtocol
refreshSuperUserGroupsConfiguration
in interface org.apache.hadoop.security.RefreshUserMappingsProtocol
IOException
public boolean isMethodSupported(String methodName) throws IOException
org.apache.hadoop.ipc.ProtocolMetaInterface
isMethodSupported
in interface org.apache.hadoop.ipc.ProtocolMetaInterface
methodName
- The name of the methodIOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.