public final class MetaMasterConfigurationServiceHandler extends MetaMasterConfigurationServiceGrpc.MetaMasterConfigurationServiceImplBase
Constructor and Description |
---|
MetaMasterConfigurationServiceHandler(MetaMaster metaMaster) |
Modifier and Type | Method and Description |
---|---|
void |
getConfigHash(GetConfigHashPOptions request,
io.grpc.stub.StreamObserver<GetConfigHashPResponse> responseObserver)
Returns the hashes of cluster and path level configurations.
|
void |
getConfiguration(GetConfigurationPOptions options,
io.grpc.stub.StreamObserver<GetConfigurationPResponse> responseObserver)
Returns a list of Alluxio runtime configuration information.
|
void |
removePathConfiguration(RemovePathConfigurationPRequest request,
io.grpc.stub.StreamObserver<RemovePathConfigurationPResponse> responseObserver)
Removes properties for a path, if the keys are empty, it means remove all properties.
|
void |
setPathConfiguration(SetPathConfigurationPRequest request,
io.grpc.stub.StreamObserver<SetPathConfigurationPResponse> responseObserver)
Sets a property for a path.
|
void |
updateConfiguration(UpdateConfigurationPRequest request,
io.grpc.stub.StreamObserver<UpdateConfigurationPResponse> responseObserver) |
bindService
public MetaMasterConfigurationServiceHandler(MetaMaster metaMaster)
metaMaster
- the Alluxio meta masterpublic void getConfiguration(GetConfigurationPOptions options, io.grpc.stub.StreamObserver<GetConfigurationPResponse> responseObserver)
MetaMasterConfigurationServiceGrpc.MetaMasterConfigurationServiceImplBase
Returns a list of Alluxio runtime configuration information.
public void getConfigHash(GetConfigHashPOptions request, io.grpc.stub.StreamObserver<GetConfigHashPResponse> responseObserver)
MetaMasterConfigurationServiceGrpc.MetaMasterConfigurationServiceImplBase
Returns the hashes of cluster and path level configurations.
public void setPathConfiguration(SetPathConfigurationPRequest request, io.grpc.stub.StreamObserver<SetPathConfigurationPResponse> responseObserver)
MetaMasterConfigurationServiceGrpc.MetaMasterConfigurationServiceImplBase
Sets a property for a path.
public void removePathConfiguration(RemovePathConfigurationPRequest request, io.grpc.stub.StreamObserver<RemovePathConfigurationPResponse> responseObserver)
MetaMasterConfigurationServiceGrpc.MetaMasterConfigurationServiceImplBase
Removes properties for a path, if the keys are empty, it means remove all properties.
public void updateConfiguration(UpdateConfigurationPRequest request, io.grpc.stub.StreamObserver<UpdateConfigurationPResponse> responseObserver)
Copyright © 2023. All Rights Reserved.