Package io.grpc.channelz.v1
Class ChannelzGrpc.ChannelzBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ChannelzGrpc.ChannelzBlockingStub>
-
- io.grpc.channelz.v1.ChannelzGrpc.ChannelzBlockingStub
-
- Enclosing class:
- ChannelzGrpc
public static final class ChannelzGrpc.ChannelzBlockingStub extends io.grpc.stub.AbstractBlockingStub<ChannelzGrpc.ChannelzBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Channelz.Channelz is a service exposed by gRPC servers that provides detailed debug information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ChannelzGrpc.ChannelzBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
GetChannelResponse
getChannel(GetChannelRequest request)
Returns a single Channel, or else a NOT_FOUND code.GetServerResponse
getServer(GetServerRequest request)
Returns a single Server, or else a NOT_FOUND code.GetServersResponse
getServers(GetServersRequest request)
Gets all servers that exist in the process.GetServerSocketsResponse
getServerSockets(GetServerSocketsRequest request)
Gets all server sockets that exist in the process.GetSocketResponse
getSocket(GetSocketRequest request)
Returns a single Socket or else a NOT_FOUND code.GetSubchannelResponse
getSubchannel(GetSubchannelRequest request)
Returns a single Subchannel, or else a NOT_FOUND code.GetTopChannelsResponse
getTopChannels(GetTopChannelsRequest request)
Gets all root channels (i.e.
-
-
-
Method Detail
-
build
protected ChannelzGrpc.ChannelzBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ChannelzGrpc.ChannelzBlockingStub>
-
getTopChannels
public GetTopChannelsResponse getTopChannels(GetTopChannelsRequest request)
Gets all root channels (i.e. channels the application has directly created). This does not include subchannels nor non-top level channels.
-
getServers
public GetServersResponse getServers(GetServersRequest request)
Gets all servers that exist in the process.
-
getServer
public GetServerResponse getServer(GetServerRequest request)
Returns a single Server, or else a NOT_FOUND code.
-
getServerSockets
public GetServerSocketsResponse getServerSockets(GetServerSocketsRequest request)
Gets all server sockets that exist in the process.
-
getChannel
public GetChannelResponse getChannel(GetChannelRequest request)
Returns a single Channel, or else a NOT_FOUND code.
-
getSubchannel
public GetSubchannelResponse getSubchannel(GetSubchannelRequest request)
Returns a single Subchannel, or else a NOT_FOUND code.
-
getSocket
public GetSocketResponse getSocket(GetSocketRequest request)
Returns a single Socket or else a NOT_FOUND code.
-
-