Package io.grpc.services
Class ChannelzService
java.lang.Object
io.grpc.channelz.v1.ChannelzGrpc.ChannelzImplBase
io.grpc.services.ChannelzService
- All Implemented Interfaces:
BindableService
,ChannelzGrpc.AsyncService
@Deprecated
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4206")
public final class ChannelzService
extends ChannelzGrpc.ChannelzImplBase
Deprecated.
The channelz service provides stats about a running gRPC process.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getChannel
(GetChannelRequest request, StreamObserver<GetChannelResponse> responseObserver) Deprecated.Returns a top level channel akaManagedChannel
.void
getServer
(GetServerRequest request, StreamObserver<GetServerResponse> responseObserver) Deprecated.Returns a server.void
getServers
(GetServersRequest request, StreamObserver<GetServersResponse> responseObserver) Deprecated.Returns servers.void
getServerSockets
(GetServerSocketsRequest request, StreamObserver<GetServerSocketsResponse> responseObserver) Deprecated.Gets all server sockets that exist in the process.void
getSocket
(GetSocketRequest request, StreamObserver<GetSocketResponse> responseObserver) Deprecated.Returns a socket.void
getSubchannel
(GetSubchannelRequest request, StreamObserver<GetSubchannelResponse> responseObserver) Deprecated.Returns a subchannel.void
getTopChannels
(GetTopChannelsRequest request, StreamObserver<GetTopChannelsResponse> responseObserver) Deprecated.Returns top level channel akaManagedChannel
.static ChannelzService
newInstance
(int maxPageSize) Deprecated.Creates an instance.Methods inherited from class io.grpc.channelz.v1.ChannelzGrpc.ChannelzImplBase
bindService
-
Field Details
-
delegate
Deprecated.
-
-
Constructor Details
-
ChannelzService
private ChannelzService(int maxPageSize) Deprecated.
-
-
Method Details
-
newInstance
Deprecated.Creates an instance. -
getTopChannels
public void getTopChannels(GetTopChannelsRequest request, StreamObserver<GetTopChannelsResponse> responseObserver) Deprecated.Returns top level channel akaManagedChannel
. -
getChannel
public void getChannel(GetChannelRequest request, StreamObserver<GetChannelResponse> responseObserver) Deprecated.Returns a top level channel akaManagedChannel
. -
getServers
public void getServers(GetServersRequest request, StreamObserver<GetServersResponse> responseObserver) Deprecated.Returns servers. -
getServer
Deprecated.Returns a server. -
getSubchannel
public void getSubchannel(GetSubchannelRequest request, StreamObserver<GetSubchannelResponse> responseObserver) Deprecated.Returns a subchannel. -
getSocket
Deprecated.Returns a socket. -
getServerSockets
public void getServerSockets(GetServerSocketsRequest request, StreamObserver<GetServerSocketsResponse> responseObserver) Deprecated.Description copied from interface:ChannelzGrpc.AsyncService
Gets all server sockets that exist in the process.
-
ChannelzService
instead.