org.apache.hadoop.security.protocolPB
Class RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
java.lang.Object
org.apache.hadoop.security.protocolPB.RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
- All Implemented Interfaces:
- Closeable, org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
public class RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
- extends Object
- implements org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol, Closeable
Fields inherited from interface org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol |
versionID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
public RefreshAuthorizationPolicyProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshAuthorizationPolicyProtocolPB rpcProxy)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
refreshServiceAcl
public void refreshServiceAcl()
throws IOException
- Description copied from interface:
org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
- Refresh the service-level authorization policy in-effect.
- Specified by:
refreshServiceAcl
in interface org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
- 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.