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