org.apache.hadoop.security.protocolPB
Class RefreshAuthorizationPolicyProtocolClientSideTranslatorPB

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
versionID
 
Constructor Summary
RefreshAuthorizationPolicyProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshAuthorizationPolicyProtocolPB rpcProxy)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshAuthorizationPolicyProtocolClientSideTranslatorPB

public RefreshAuthorizationPolicyProtocolClientSideTranslatorPB(org.apache.hadoop.security.protocolPB.RefreshAuthorizationPolicyProtocolPB rpcProxy)
Method Detail

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 © 2014 Apache Software Foundation. All Rights Reserved.