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.UseChannelzService
instead.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 void
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
-
-
-
-
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.AsyncService
Gets all server sockets that exist in the process.
-
-