public static final class ChannelzGrpc.ChannelzStub extends AbstractAsyncStub<ChannelzGrpc.ChannelzStub>
Channelz is a service exposed by gRPC servers that provides detailed debug information.
AbstractStub.StubFactory<T extends AbstractStub<T>>| Modifier and Type | Method and Description |
|---|---|
protected ChannelzGrpc.ChannelzStub |
build(Channel channel,
CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.
|
void |
getChannel(GetChannelRequest request,
StreamObserver<GetChannelResponse> responseObserver)
Returns a single Channel, or else a NOT_FOUND code.
|
void |
getServer(GetServerRequest request,
StreamObserver<GetServerResponse> responseObserver)
Returns a single Server, or else a NOT_FOUND code.
|
void |
getServers(GetServersRequest request,
StreamObserver<GetServersResponse> responseObserver)
Gets all servers that exist in the process.
|
void |
getServerSockets(GetServerSocketsRequest request,
StreamObserver<GetServerSocketsResponse> responseObserver)
Gets all server sockets that exist in the process.
|
void |
getSocket(GetSocketRequest request,
StreamObserver<GetSocketResponse> responseObserver)
Returns a single Socket or else a NOT_FOUND code.
|
void |
getSubchannel(GetSubchannelRequest request,
StreamObserver<GetSubchannelResponse> responseObserver)
Returns a single Subchannel, or else a NOT_FOUND code.
|
void |
getTopChannels(GetTopChannelsRequest request,
StreamObserver<GetTopChannelsResponse> responseObserver)
Gets all root channels (i.e.
|
newStub, newStubgetCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected ChannelzGrpc.ChannelzStub build(Channel channel, CallOptions callOptions)
AbstractStubbuild in class AbstractStub<ChannelzGrpc.ChannelzStub>channel - the channel that this stub will use to do communicationscallOptions - the runtime call options to be applied to every call on this stubpublic void getTopChannels(GetTopChannelsRequest request, StreamObserver<GetTopChannelsResponse> responseObserver)
Gets all root channels (i.e. channels the application has directly created). This does not include subchannels nor non-top level channels.
public void getServers(GetServersRequest request, StreamObserver<GetServersResponse> responseObserver)
Gets all servers that exist in the process.
public void getServer(GetServerRequest request, StreamObserver<GetServerResponse> responseObserver)
Returns a single Server, or else a NOT_FOUND code.
public void getServerSockets(GetServerSocketsRequest request, StreamObserver<GetServerSocketsResponse> responseObserver)
Gets all server sockets that exist in the process.
public void getChannel(GetChannelRequest request, StreamObserver<GetChannelResponse> responseObserver)
Returns a single Channel, or else a NOT_FOUND code.
public void getSubchannel(GetSubchannelRequest request, StreamObserver<GetSubchannelResponse> responseObserver)
Returns a single Subchannel, or else a NOT_FOUND code.
public void getSocket(GetSocketRequest request, StreamObserver<GetSocketResponse> responseObserver)
Returns a single Socket or else a NOT_FOUND code.