com.google.cloud.bigtable.grpc.async
Class BigtableAsyncRpc.RpcMetrics
- java.lang.Object
-
- com.google.cloud.bigtable.grpc.async.BigtableAsyncRpc.RpcMetrics
-
- Enclosing interface:
- BigtableAsyncRpc<REQUEST,RESPONSE>
public static class BigtableAsyncRpc.RpcMetrics extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static BigtableAsyncRpc.RpcMetrics
createRpcMetrics(io.grpc.MethodDescriptor<?,?> descriptor)
void
markFailure()
void
markRetriesExhasted()
void
markRetry()
Timer.Context
timeOperation()
Timer.Context
timeRpc()
-
-
-
Method Detail
-
createRpcMetrics
public static BigtableAsyncRpc.RpcMetrics createRpcMetrics(io.grpc.MethodDescriptor<?,?> descriptor)
-
timeOperation
public Timer.Context timeOperation()
-
timeRpc
public Timer.Context timeRpc()
-
markRetry
public void markRetry()
-
markFailure
public void markFailure()
-
markRetriesExhasted
public void markRetriesExhasted()
-
-