Searched refs:ChannelzProtoUtil (Results 1 – 4 of 4) sorted by relevance
326 assertEquals(channelRef, ChannelzProtoUtil.toChannelRef(channel)); in toChannelRef()331 assertEquals(subchannelRef, ChannelzProtoUtil.toSubchannelRef(subchannel)); in toSubchannelRef()336 assertEquals(serverRef, ChannelzProtoUtil.toServerRef(server)); in toServerRef()341 assertEquals(socketRef, ChannelzProtoUtil.toSocketRef(socket)); in toSocketRef()349 ChannelzProtoUtil.toState(connectivityState).getValueDescriptor().getName()); in toState()351 assertEquals(State.UNKNOWN, ChannelzProtoUtil.toState(null)); in toState()364 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataNoOptions()383 ChannelzProtoUtil.toSocket(listenSocket)); in toSocket_noDataWithOptions()403 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataWithOptions()411 ChannelzProtoUtil.extractSocketData(socket.getStats().get())); in extractSocketData()[all …]
69 .addChannel(ChannelzProtoUtil.toChannel(root)) in getTopChannels_onePage()84 .setChannel(ChannelzProtoUtil.toChannel(root)) in getChannel()101 .setSubchannel(ChannelzProtoUtil.toSubchannel(subchannel)) in getSubchannel()124 .addServer(ChannelzProtoUtil.toServer(server)) in getServers_onePage()139 .setSocket(ChannelzProtoUtil.toSocket(socket)) in getSocket()
71 responseObserver.onNext(ChannelzProtoUtil.toGetTopChannelResponse(rootChannels)); in getTopChannels()88 .setChannel(ChannelzProtoUtil.toChannel(s)) in getChannel()99 responseObserver.onNext(ChannelzProtoUtil.toGetServersResponse(servers)); in getServers()116 .setSubchannel(ChannelzProtoUtil.toSubchannel(s)) in getSubchannel()134 .setSocket(ChannelzProtoUtil.toSocket(s)) in getSocket()149 responseObserver.onNext(ChannelzProtoUtil.toGetServerSocketsResponse(serverSockets)); in getServerSockets()
84 final class ChannelzProtoUtil { class85 private static final Logger logger = Logger.getLogger(ChannelzProtoUtil.class.getName());87 private ChannelzProtoUtil() { in ChannelzProtoUtil() method in ChannelzProtoUtil431 responseBuilder.addChannel(ChannelzProtoUtil.toChannel(c)); in toGetTopChannelResponse()441 responseBuilder.addServer(ChannelzProtoUtil.toServer(s)); in toGetServersResponse()451 responseBuilder.addSocketRef(ChannelzProtoUtil.toSocketRef(s)); in toGetServerSocketsResponse()