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.UseChannelzServiceinstead.The channelz service provides stats about a running gRPC process. 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidgetChannel(GetChannelRequest request, StreamObserver<GetChannelResponse> responseObserver)Deprecated.Returns a top level channel akaManagedChannel.voidgetServer(GetServerRequest request, StreamObserver<GetServerResponse> responseObserver)Deprecated.Returns a server.voidgetServers(GetServersRequest request, StreamObserver<GetServersResponse> responseObserver)Deprecated.Returns servers.voidgetServerSockets(GetServerSocketsRequest request, StreamObserver<GetServerSocketsResponse> responseObserver)Deprecated.Gets all server sockets that exist in the process.voidgetSocket(GetSocketRequest request, StreamObserver<GetSocketResponse> responseObserver)Deprecated.Returns a socket.voidgetSubchannel(GetSubchannelRequest request, StreamObserver<GetSubchannelResponse> responseObserver)Deprecated.Returns a subchannel.voidgetTopChannels(GetTopChannelsRequest request, StreamObserver<GetTopChannelsResponse> responseObserver)Deprecated.Returns top level channel akaManagedChannel.static ChannelzServicenewInstance(int maxPageSize)Deprecated.Creates an instance.- 
Methods inherited from class io.grpc.channelz.v1.ChannelzGrpc.ChannelzImplBase
bindService 
 - 
 
 - 
 
- 
- 
Method Detail
- 
newInstance
public static ChannelzService newInstance(int maxPageSize)
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
public void getServer(GetServerRequest request, StreamObserver<GetServerResponse> responseObserver)
Deprecated.Returns a server. 
- 
getSubchannel
public void getSubchannel(GetSubchannelRequest request, StreamObserver<GetSubchannelResponse> responseObserver)
Deprecated.Returns a subchannel. 
- 
getSocket
public void getSocket(GetSocketRequest request, StreamObserver<GetSocketResponse> responseObserver)
Deprecated.Returns a socket. 
- 
getServerSockets
public void getServerSockets(GetServerSocketsRequest request, StreamObserver<GetServerSocketsResponse> responseObserver)
Deprecated.Description copied from interface:ChannelzGrpc.AsyncServiceGets all server sockets that exist in the process.
 
 - 
 
 -