public class RefreshAuthorizationPolicyProtocolClientSideTranslatorPB extends Object implements org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol, Closeable
Constructor and Description |
---|
RefreshAuthorizationPolicyProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshAuthorizationPolicyProtocolPB 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 |
refreshServiceAcl()
Refresh the service-level authorization policy in-effect.
|
public RefreshAuthorizationPolicyProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshAuthorizationPolicyProtocolPB rpcProxy)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void refreshServiceAcl() throws IOException
org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
refreshServiceAcl
in interface org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
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.