@NotThreadSafe public final class MetricsMasterClientServiceHandler extends MetricsMasterClientServiceGrpc.MetricsMasterClientServiceImplBase
Constructor and Description |
---|
MetricsMasterClientServiceHandler(MetricsMaster metricsMaster) |
Modifier and Type | Method and Description |
---|---|
void |
clearMetrics(ClearMetricsPRequest request,
io.grpc.stub.StreamObserver<ClearMetricsPResponse> responseObserver)
Clears the metrics in the cluster.
|
void |
getMetrics(GetMetricsPOptions options,
io.grpc.stub.StreamObserver<GetMetricsPResponse> responseObserver)
Returns a map of metrics property names and their values from Alluxio metrics system.
|
void |
metricsHeartbeat(MetricsHeartbeatPRequest request,
io.grpc.stub.StreamObserver<MetricsHeartbeatPResponse> responseObserver)
Periodic metrics master client heartbeat.
|
bindService
public MetricsMasterClientServiceHandler(MetricsMaster metricsMaster)
metricsMaster
- MetricsMaster
instancepublic void clearMetrics(ClearMetricsPRequest request, io.grpc.stub.StreamObserver<ClearMetricsPResponse> responseObserver)
MetricsMasterClientServiceGrpc.AsyncService
Clears the metrics in the cluster.
public void metricsHeartbeat(MetricsHeartbeatPRequest request, io.grpc.stub.StreamObserver<MetricsHeartbeatPResponse> responseObserver)
MetricsMasterClientServiceGrpc.AsyncService
Periodic metrics master client heartbeat.
public void getMetrics(GetMetricsPOptions options, io.grpc.stub.StreamObserver<GetMetricsPResponse> responseObserver)
MetricsMasterClientServiceGrpc.AsyncService
Returns a map of metrics property names and their values from Alluxio metrics system.
Copyright © 2023. All Rights Reserved.