Class RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
java.lang.Object
org.apache.hadoop.security.protocolPB.RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
- All Implemented Interfaces:
Closeable,AutoCloseable,ProtocolMetaInterface,RefreshAuthorizationPolicyProtocol
public class RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
extends Object
implements ProtocolMetaInterface, RefreshAuthorizationPolicyProtocol, Closeable
-
Field Summary
Fields inherited from interface org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
versionID -
Constructor Summary
ConstructorsConstructorDescriptionRefreshAuthorizationPolicyProtocolClientSideTranslatorPB(RefreshAuthorizationPolicyProtocolPB rpcProxy) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisMethodSupported(String methodName) Checks whether the given method name is supported by the server.voidRefresh the service-level authorization policy in-effect.
-
Constructor Details
-
RefreshAuthorizationPolicyProtocolClientSideTranslatorPB
public RefreshAuthorizationPolicyProtocolClientSideTranslatorPB(RefreshAuthorizationPolicyProtocolPB rpcProxy)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
refreshServiceAcl
Description copied from interface:RefreshAuthorizationPolicyProtocolRefresh the service-level authorization policy in-effect.- Specified by:
refreshServiceAclin interfaceRefreshAuthorizationPolicyProtocol- Throws:
IOException- raised on errors performing I/O.
-
isMethodSupported
Description copied from interface:ProtocolMetaInterfaceChecks whether the given method name is supported by the server. It is assumed that all method names are unique for a protocol.- Specified by:
isMethodSupportedin interfaceProtocolMetaInterface- Parameters:
methodName- The name of the method- Returns:
- true if method is supported, otherwise false.
- Throws:
IOException- raised on errors performing I/O.
-