Home
last modified time | relevance | path

Searched refs:maxConcurrentStreams (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DUnaryCallQpsBenchmark.java42 public int maxConcurrentStreams = 100; field in UnaryCallQpsBenchmark
76 maxConcurrentStreams, in setup()
80 startUnaryCalls(maxConcurrentStreams, callCounter, completed, 1); in setup()
DUnaryCallResponseBandwidthBenchmark.java41 public int maxConcurrentStreams = 1; field in UnaryCallResponseBandwidthBenchmark
82 maxConcurrentStreams, in setup()
86 startUnaryCalls(maxConcurrentStreams, callCounter, completed, responseSize.bytes()); in setup()
DStreamingPingPongsPerSecondBenchmark.java48 public int maxConcurrentStreams = 1; field in StreamingPingPongsPerSecondBenchmark
84 maxConcurrentStreams, in setup()
89 latch = startStreamingCalls(maxConcurrentStreams, callCounter, record, completed, 1); in setup()
DStreamingResponseBandwidthBenchmark.java43 public int maxConcurrentStreams = 1; field in StreamingResponseBandwidthBenchmark
85 maxConcurrentStreams, in setup()
90 latch = startFlowControlledStreamingCalls(maxConcurrentStreams, callCounter, record, completed, in setup()
DFlowControlledMessagesPerSecondBenchmark.java49 public int maxConcurrentStreams = 1; field in FlowControlledMessagesPerSecondBenchmark
91 maxConcurrentStreams, in setup()
97 startFlowControlledStreamingCalls(maxConcurrentStreams, callCounter, record, completed, 1); in setup()
DAbstractBenchmark.java193 int maxConcurrentStreams, in setup() argument
229 serverBuilder.maxConcurrentCallsPerConnection(maxConcurrentStreams); in setup()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java179 private int maxConcurrentStreams = 0; field in OkHttpClientTransport
358 } else if (streams.size() >= maxConcurrentStreams) { in streamReadyToStart()
395 while (!pendingStreams.isEmpty() && streams.size() < maxConcurrentStreams) { in startPendingStreams()
438 maxConcurrentStreams = Integer.MAX_VALUE; in start()
506 maxConcurrentStreams = Integer.MAX_VALUE; in start()
1079 maxConcurrentStreams = receivedMaxConcurrentStreams; in settings()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java133 private int maxConcurrentStreams = Integer.MAX_VALUE; field in NettyServerHandlerTest
367 maxConcurrentStreams = 314; in shouldAdvertiseMaxConcurrentStreams()
374 assertEquals(maxConcurrentStreams, captor.getValue().maxConcurrentStreams().intValue()); in shouldAdvertiseMaxConcurrentStreams()
1068 maxConcurrentStreams, in newHandler()
DNettyClientHandlerTest.java679 ByteBuf serializedSettings = serializeSettings(new Http2Settings().maxConcurrentStreams(max)); in receiveMaxConcurrentStreams()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java281 final AtomicInteger maxConcurrentStreams = new AtomicInteger();
287 maxConcurrentStreams.set(connection.maxConcurrentStreams());
298 assertEquals(10, maxConcurrentStreams.get());
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java346 ? framedConnection.maxConcurrentStreams() in allocationLimit()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java342 ? framedConnection.maxConcurrentStreams() in allocationLimit()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java212 public synchronized int maxConcurrentStreams() { in maxConcurrentStreams() method in FramedConnection
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedConnection.java214 public synchronized int maxConcurrentStreams() { in maxConcurrentStreams() method in FramedConnection
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyClientHandler.java201 settings.maxConcurrentStreams(0); in newHandler()
DNettyServerHandler.java218 settings.maxConcurrentStreams(maxStreams); in newHandler()