public static final class PolicyMasterClientServiceGrpc.PolicyMasterClientServiceFutureStub extends io.grpc.stub.AbstractFutureStub<PolicyMasterClientServiceGrpc.PolicyMasterClientServiceFutureStub>
This interface contains policy master service endpoints for Alluxio clients.
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<AddPolicyPResponse> |
addPolicy(AddPolicyPRequest request)
Adds a new policy definition
|
protected PolicyMasterClientServiceGrpc.PolicyMasterClientServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<GetActionInfoResponse> |
getActionInfo(GetActionInfoRequest request)
Gets the information of a action
|
com.google.common.util.concurrent.ListenableFuture<GetPolicyStatusPResponse> |
getPolicyStatus(GetPolicyStatusPRequest request)
Gets the status of a policy
|
com.google.common.util.concurrent.ListenableFuture<ListPolicyPResponse> |
listPolicy(ListPolicyPRequest request)
Returns the list of policies
|
com.google.common.util.concurrent.ListenableFuture<RemovePolicyPResponse> |
removePolicy(RemovePolicyPRequest request)
Removes a policy definition
|
com.google.common.util.concurrent.ListenableFuture<TriggerPolicyResponse> |
triggerPolicy(TriggerPolicyRequest request)
Trigger policy scan for all policies
|
protected PolicyMasterClientServiceGrpc.PolicyMasterClientServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<PolicyMasterClientServiceGrpc.PolicyMasterClientServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<ListPolicyPResponse> listPolicy(ListPolicyPRequest request)
Returns the list of policies
public com.google.common.util.concurrent.ListenableFuture<AddPolicyPResponse> addPolicy(AddPolicyPRequest request)
Adds a new policy definition
public com.google.common.util.concurrent.ListenableFuture<RemovePolicyPResponse> removePolicy(RemovePolicyPRequest request)
Removes a policy definition
public com.google.common.util.concurrent.ListenableFuture<GetPolicyStatusPResponse> getPolicyStatus(GetPolicyStatusPRequest request)
Gets the status of a policy
public com.google.common.util.concurrent.ListenableFuture<GetActionInfoResponse> getActionInfo(GetActionInfoRequest request)
Gets the information of a action
public com.google.common.util.concurrent.ListenableFuture<TriggerPolicyResponse> triggerPolicy(TriggerPolicyRequest request)
Trigger policy scan for all policies
Copyright © 2023. All Rights Reserved.