Uses of Interface
io.grpc.internal.ClientTransport.PingCallback
-
Packages that use ClientTransport.PingCallback Package Description io.grpc.inprocess The in-process transport which is for when a server is in the same process as the client.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.netty The main transport implementation based on Netty, for both the client and the server. -
-
Uses of ClientTransport.PingCallback in io.grpc.inprocess
Methods in io.grpc.inprocess with parameters of type ClientTransport.PingCallback Modifier and Type Method Description void
InProcessTransport. ping(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
-
Uses of ClientTransport.PingCallback in io.grpc.internal
Fields in io.grpc.internal with type parameters of type ClientTransport.PingCallback Modifier and Type Field Description private java.util.Map<ClientTransport.PingCallback,java.util.concurrent.Executor>
Http2Ping. callbacks
The registered callbacks and the executor used to invoke them.Methods in io.grpc.internal with parameters of type ClientTransport.PingCallback Modifier and Type Method Description void
Http2Ping. addCallback(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
Registers a callback that is invoked when the ping operation completes.private static java.lang.Runnable
Http2Ping. asRunnable(ClientTransport.PingCallback callback, long roundTripTimeNanos)
Returns a runnable that, when run, invokes the given callback, providing the given round-trip duration.private static java.lang.Runnable
Http2Ping. asRunnable(ClientTransport.PingCallback callback, java.lang.Throwable failureCause)
Returns a runnable that, when run, invokes the given callback, providing the given cause of failure.static void
Http2Ping. notifyFailed(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor, java.lang.Throwable cause)
Notifies the given callback that the ping operation failed.void
ClientTransport. ping(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
Pings a remote endpoint.void
DelayedClientTransport. ping(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
void
FailingClientTransport. ping(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
void
ForwardingConnectionClientTransport. ping(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
-
Uses of ClientTransport.PingCallback in io.grpc.netty
Fields in io.grpc.netty declared as ClientTransport.PingCallback Modifier and Type Field Description private ClientTransport.PingCallback
SendPingCommand. callback
Methods in io.grpc.netty that return ClientTransport.PingCallback Modifier and Type Method Description (package private) ClientTransport.PingCallback
SendPingCommand. callback()
Methods in io.grpc.netty with parameters of type ClientTransport.PingCallback Modifier and Type Method Description void
NettyClientTransport. ping(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
Constructors in io.grpc.netty with parameters of type ClientTransport.PingCallback Constructor Description SendPingCommand(ClientTransport.PingCallback callback, java.util.concurrent.Executor executor)
-