/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | ChannelzTestHelper.java | 28 import io.grpc.InternalChannelz.SocketStats; 43 static final class TestSocket implements InternalInstrumented<SocketStats> { 65 public ListenableFuture<SocketStats> getStats() { in getStats() 66 SettableFuture<SocketStats> ret = SettableFuture.create(); in getStats() 68 new SocketStats( in getStats() 90 static final class TestListenSocket implements InternalInstrumented<SocketStats> { 95 public ListenableFuture<SocketStats> getStats() { in getStats() 96 SettableFuture<SocketStats> ret = SettableFuture.create(); in getStats() 98 new SocketStats( in getStats() 127 Collections.<InternalInstrumented<SocketStats>>emptyList());
|
D | ChannelzProtoUtilTest.java | 44 import io.grpc.InternalChannelz.SocketStats; 541 .setListenSockets(ImmutableList.<InternalInstrumented<SocketStats>>of(listenSocket)) in toServer() 555 ImmutableList.<InternalInstrumented<SocketStats>>of(listenSocket, otherListenSocket)) in toServer()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | InternalChannelz.java | 59 private final ConcurrentMap<Long, InternalInstrumented<SocketStats>> otherSockets 60 = new ConcurrentHashMap<Long, InternalInstrumented<SocketStats>>(); 66 extends ConcurrentSkipListMap<Long, InternalInstrumented<SocketStats>> { 96 public void addClientSocket(InternalInstrumented<SocketStats> socket) { in addClientSocket() 100 public void addListenSocket(InternalInstrumented<SocketStats> socket) { in addListenSocket() 106 InternalInstrumented<ServerStats> server, InternalInstrumented<SocketStats> socket) { in addServerSocket() 128 public void removeClientSocket(InternalInstrumented<SocketStats> socket) { in removeClientSocket() 132 public void removeListenSocket(InternalInstrumented<SocketStats> socket) { in removeListenSocket() 138 InternalInstrumented<ServerStats> server, InternalInstrumented<SocketStats> socket) { in removeServerSocket() 190 Iterator<InternalInstrumented<SocketStats>> iterator in getServerSockets() [all …]
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyServer.java | 30 import io.grpc.InternalChannelz.SocketStats; 98 private volatile ImmutableList<InternalInstrumented<SocketStats>> listenSockets 151 public List<InternalInstrumented<SocketStats>> getListenSockets() { in getListenSockets() 259 InternalInstrumented<SocketStats> listenSocket = new ListenSocket(channel); in start() 283 for (InternalInstrumented<SocketStats> listenSocket : listenSockets) { in shutdown() 345 private static final class ListenSocket implements InternalInstrumented<SocketStats> { 354 public ListenableFuture<SocketStats> getStats() { in getStats() 355 final SettableFuture<SocketStats> ret = SettableFuture.create(); in getStats() 359 ret.set(new SocketStats( in getStats() 372 ret.set(new SocketStats( in getStats()
|
D | NettyServerTransport.java | 25 import io.grpc.InternalChannelz.SocketStats; 203 public ListenableFuture<SocketStats> getStats() { in getStats() 204 final SettableFuture<SocketStats> result = SettableFuture.create(); in getStats() 230 private SocketStats getStatsHelper(Channel ch) { in getStatsHelper() 232 return new SocketStats( in getStatsHelper()
|
D | NettyClientTransport.java | 29 import io.grpc.InternalChannelz.SocketStats; 334 public ListenableFuture<SocketStats> getStats() { 335 final SettableFuture<SocketStats> result = SettableFuture.create(); 361 private SocketStats getStatsHelper(Channel ch) { 363 return new SocketStats(
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | FailingClientTransport.java | 24 import io.grpc.InternalChannelz.SocketStats; 62 public ListenableFuture<SocketStats> getStats() { in getStats() 63 SettableFuture<SocketStats> ret = SettableFuture.create(); in getStats()
|
D | ServerTransport.java | 19 import io.grpc.InternalChannelz.SocketStats; 25 public interface ServerTransport extends InternalInstrumented<SocketStats> {
|
D | InternalServer.java | 19 import io.grpc.InternalChannelz.SocketStats; 57 List<InternalInstrumented<SocketStats>> getListenSockets(); in getListenSockets()
|
D | ClientTransport.java | 20 import io.grpc.InternalChannelz.SocketStats; 34 public interface ClientTransport extends InternalInstrumented<SocketStats> {
|
D | ForwardingConnectionClientTransport.java | 23 import io.grpc.InternalChannelz.SocketStats; 73 public ListenableFuture<SocketStats> getStats() { in getStats()
|
D | DelayedClientTransport.java | 24 import io.grpc.InternalChannelz.SocketStats; 194 public ListenableFuture<SocketStats> getStats() { in getStats() 195 SettableFuture<SocketStats> ret = SettableFuture.create(); in getStats()
|
D | GrpcUtil.java | 32 import io.grpc.InternalChannelz.SocketStats; 697 public ListenableFuture<SocketStats> getStats() { in getTransportFromPickResult()
|
/external/grpc-grpc-java/core/src/jmh/java/io/grpc/internal/ |
D | ChannelzBenchmark.java | 22 import io.grpc.InternalChannelz.SocketStats; 51 public InternalInstrumented<SocketStats> serverSocketToAdd; 52 public InternalInstrumented<SocketStats> serverSocketToRemove; 83 InternalInstrumented<SocketStats> sock = create(); in populate()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | InternalChannelzTest.java | 36 import io.grpc.InternalChannelz.SocketStats; 221 InternalInstrumented<SocketStats> socket = create(); in getSocket() 241 InternalInstrumented<SocketStats> socket = create(); in serverSocket() 260 InternalInstrumented<SocketStats> socket1 = create(); in serverSocket_eachServerSeparate() 261 InternalInstrumented<SocketStats> socket2 = create(); in serverSocket_eachServerSeparate()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/ |
D | InProcessServer.java | 22 import io.grpc.InternalChannelz.SocketStats; 83 public List<InternalInstrumented<SocketStats>> getListenSockets() { in getListenSockets()
|
D | InProcessTransport.java | 33 import io.grpc.InternalChannelz.SocketStats; 242 public ListenableFuture<SocketStats> getStats() { 243 SettableFuture<SocketStats> ret = SettableFuture.create();
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyServerTest.java | 28 import io.grpc.InternalChannelz.SocketStats; 215 InternalInstrumented<SocketStats> listenSocket = getOnlyElement(ns.getListenSockets()); in channelzListenSocket() 219 SocketStats socketStats = listenSocket.getStats().get(); in channelzListenSocket()
|
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/ |
D | CronetClientTransport.java | 24 import io.grpc.InternalChannelz.SocketStats; 103 public ListenableFuture<SocketStats> getStats() { in getStats() 104 SettableFuture<SocketStats> f = SettableFuture.create(); in getStats()
|
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/ |
D | ChannelzService.java | 25 import io.grpc.InternalChannelz.SocketStats; 125 InternalInstrumented<SocketStats> s = channelz.getSocket(request.getSocketId()); in getSocket()
|
D | ChannelzProtoUtil.java | 34 import io.grpc.InternalChannelz.SocketStats; 129 for (InternalInstrumented<SocketStats> listenSocket : stats.listenSockets) { in toServer() 175 static Socket toSocket(InternalInstrumented<SocketStats> obj) { in toSocket() 176 SocketStats socketStats = getFuture(obj.getStats()); in toSocket() 215 static SocketData extractSocketData(SocketStats socketStats) { in extractSocketData()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpClientTransport.java | 37 import io.grpc.InternalChannelz.SocketStats; 926 public ListenableFuture<SocketStats> getStats() { in getStats() 927 SettableFuture<SocketStats> ret = SettableFuture.create(); in getStats() 930 ret.set(new SocketStats( in getStats() 937 ret.set(new SocketStats( in getStats()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ServerImplTest.java | 60 import io.grpc.InternalChannelz.SocketStats; 1367 public List<InternalInstrumented<SocketStats>> getListenSockets() { in getListenSockets() 1406 public ListenableFuture<SocketStats> getStats() { in getStats() 1407 SettableFuture<SocketStats> ret = SettableFuture.create(); in getStats()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | AbstractTransportTest.java | 50 import io.grpc.InternalChannelz.SocketStats; 1722 SocketStats clientSocketStats = client.getStats().get(); in socketStats() 1729 SocketStats serverSocketStats = serverTransportListener.transport.getStats().get(); in socketStats() 2066 private static TransportStats getTransportStats(InternalInstrumented<SocketStats> socket) in getTransportStats()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpClientTransportTest.java | 59 import io.grpc.InternalChannelz.SocketStats; 2076 private static TransportStats getTransportStats(InternalInstrumented<SocketStats> obj) in getTransportStats()
|