Home
last modified time | relevance | path

Searched refs:rootChannels (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzService.java68 InternalChannelz.RootChannelList rootChannels in getTopChannels() local
71 responseObserver.onNext(ChannelzProtoUtil.toGetTopChannelResponse(rootChannels)); in getTopChannels()
DChannelzProtoUtil.java426 static GetTopChannelsResponse toGetTopChannelResponse(RootChannelList rootChannels) { in toGetTopChannelResponse() argument
429 .setEnd(rootChannels.end); in toGetTopChannelResponse()
430 for (InternalInstrumented<ChannelStats> c : rootChannels.channels) { in toGetTopChannelResponse()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java54 private final ConcurrentNavigableMap<Long, InternalInstrumented<ChannelStats>> rootChannels field in InternalChannelz
92 add(rootChannels, rootChannel); in addRootChannel()
125 remove(rootChannels, channel); in removeRootChannel()
149 = rootChannels.tailMap(fromId).values().iterator(); in getRootChannels()
160 return rootChannels.get(id); in getChannel()
229 return rootChannels.get(id); in getRootChannel()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DInternalChannelzTest.java51 RootChannelList rootChannels = channelz.getRootChannels(/*fromId=*/ 0, /*maxPageSize=*/ 1); in getRootChannels_empty() local
52 assertTrue(rootChannels.end); in getRootChannels_empty()
53 assertThat(rootChannels.channels).isEmpty(); in getRootChannels_empty()