Package io.grpc.testing.integration
Class MetricsServiceGrpc.MetricsServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<MetricsServiceGrpc.MetricsServiceBlockingStub>
-
- io.grpc.testing.integration.MetricsServiceGrpc.MetricsServiceBlockingStub
-
- Enclosing class:
- MetricsServiceGrpc
public static final class MetricsServiceGrpc.MetricsServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<MetricsServiceGrpc.MetricsServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service MetricsService.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MetricsServiceGrpc.MetricsServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)java.util.Iterator<Metrics.GaugeResponse>getAllGauges(Metrics.EmptyMessage request)Returns the values of all the gauges that are currently being maintained by the serviceMetrics.GaugeResponsegetGauge(Metrics.GaugeRequest request)Returns the value of one gauge
-
-
-
Method Detail
-
build
protected MetricsServiceGrpc.MetricsServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceBlockingStub>
-
getAllGauges
public java.util.Iterator<Metrics.GaugeResponse> getAllGauges(Metrics.EmptyMessage request)
Returns the values of all the gauges that are currently being maintained by the service
-
getGauge
public Metrics.GaugeResponse getGauge(Metrics.GaugeRequest request)
Returns the value of one gauge
-
-