Class ChannelzGrpc.ChannelzBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<ChannelzGrpc.ChannelzBlockingStub>
io.grpc.stub.AbstractBlockingStub<ChannelzGrpc.ChannelzBlockingStub>
io.grpc.channelz.v1.ChannelzGrpc.ChannelzBlockingStub
- Enclosing class:
ChannelzGrpc
public static final class ChannelzGrpc.ChannelzBlockingStub
extends 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractStub
AbstractStub.StubFactory<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateChannelzBlockingStub(Channel channel, CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected ChannelzGrpc.ChannelzBlockingStubbuild(Channel channel, CallOptions callOptions) Returns a new stub with the given channel for the provided method configurations.getChannel(GetChannelRequest request) Returns a single Channel, or else a NOT_FOUND code.getServer(GetServerRequest request) Returns a single Server, or else a NOT_FOUND code.getServers(GetServersRequest request) Gets all servers that exist in the process.getServerSockets(GetServerSocketsRequest request) Gets all server sockets that exist in the process.getSocket(GetSocketRequest request) Returns a single Socket or else a NOT_FOUND code.getSubchannel(GetSubchannelRequest request) Returns a single Subchannel, or else a NOT_FOUND code.getTopChannels(GetTopChannelsRequest request) Gets all root channels (i.e.Methods inherited from class AbstractBlockingStub
newStub, newStub
-
Constructor Details
-
ChannelzBlockingStub
-
-
Method Details
-
build
Description copied from class:AbstractStubReturns a new stub with the given channel for the provided method configurations.- Specified by:
buildin classAbstractStub<ChannelzGrpc.ChannelzBlockingStub>- Parameters:
channel- the channel that this stub will use to do communicationscallOptions- the runtime call options to be applied to every call on this stub
-
getTopChannels
Gets all root channels (i.e. channels the application has directly created). This does not include subchannels nor non-top level channels.
-
getServers
Gets all servers that exist in the process.
-
getServer
Returns a single Server, or else a NOT_FOUND code.
-
getServerSockets
Gets all server sockets that exist in the process.
-
getChannel
Returns a single Channel, or else a NOT_FOUND code.
-
getSubchannel
Returns a single Subchannel, or else a NOT_FOUND code.
-
getSocket
Returns a single Socket or else a NOT_FOUND code.
-