接口 RangerQcloudObjectStorageClient
public interface RangerQcloudObjectStorageClient
-
方法概要
修饰符和类型方法说明voidcancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration configuration) Cancel the given tokencheckPermission(PermissionRequest permissionRequest) voidclose()org.apache.hadoop.security.token.Token<?>getDelegationToken(String renewer) voidinit(org.apache.hadoop.conf.Configuration conf) longrenew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) Renew the given token.
-
方法详细资料
-
init
- 抛出:
IOException
-
getCanonicalServiceName
String getCanonicalServiceName() -
checkPermission
- 抛出:
IOException
-
getDelegationToken
- 抛出:
IOException
-
renew
long renew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException Renew the given token.- 返回:
- the new expiration time
- 抛出:
IOExceptionInterruptedException
-
cancel
void cancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration configuration) throws IOException, InterruptedException Cancel the given token -
getSTS
- 抛出:
IOException
-
getRangerAuthPolicy
- 抛出:
IOException
-
close
void close()
-