@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.MetricsMasterClientServiceImplBase
Clears the metrics in the cluster.
clearMetrics
in class MetricsMasterClientServiceGrpc.MetricsMasterClientServiceImplBase
public void metricsHeartbeat(MetricsHeartbeatPRequest request, io.grpc.stub.StreamObserver<MetricsHeartbeatPResponse> responseObserver)
MetricsMasterClientServiceGrpc.MetricsMasterClientServiceImplBase
Periodic metrics master client heartbeat.
metricsHeartbeat
in class MetricsMasterClientServiceGrpc.MetricsMasterClientServiceImplBase
public void getMetrics(GetMetricsPOptions options, io.grpc.stub.StreamObserver<GetMetricsPResponse> responseObserver)
MetricsMasterClientServiceGrpc.MetricsMasterClientServiceImplBase
Returns a map of metrics property names and their values from Alluxio metrics system.
getMetrics
in class MetricsMasterClientServiceGrpc.MetricsMasterClientServiceImplBase
Copyright © 2023. All Rights Reserved.