Home
last modified time | relevance | path

Searched refs:maxPageSize (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzService.java49 private final int maxPageSize; field in ChannelzService
54 public static ChannelzService newInstance(int maxPageSize) { in newInstance() argument
55 return new ChannelzService(InternalChannelz.instance(), maxPageSize); in newInstance()
59 ChannelzService(InternalChannelz channelz, int maxPageSize) { in ChannelzService() argument
61 this.maxPageSize = maxPageSize; in ChannelzService()
69 = channelz.getRootChannels(request.getStartChannelId(), maxPageSize); in getTopChannels()
97 ServerList servers = channelz.getServers(request.getStartServerId(), maxPageSize); in getServers()
143 = channelz.getServerSockets(request.getServerId(), request.getStartSocketId(), maxPageSize); in getServerSockets()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java145 public RootChannelList getRootChannels(long fromId, int maxPageSize) { in getRootChannels() argument
151 while (iterator.hasNext() && channelList.size() < maxPageSize) { in getRootChannels()
170 public ServerList getServers(long fromId, int maxPageSize) { in getServers() argument
172 = new ArrayList<InternalInstrumented<ServerStats>>(maxPageSize); in getServers()
176 while (iterator.hasNext() && serverList.size() < maxPageSize) { in getServers()
184 public ServerSocketsList getServerSockets(long serverId, long fromId, int maxPageSize) { in getServerSockets() argument
189 List<InternalWithLogId> socketList = new ArrayList<>(maxPageSize); in getServerSockets()
192 while (socketList.size() < maxPageSize && iterator.hasNext()) { in getServerSockets()