Home
last modified time | relevance | path

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

/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java222 public final OkHttpChannelBuilder enableKeepAlive(boolean enable) { in enableKeepAlive() method in OkHttpChannelBuilder
236 public final OkHttpChannelBuilder enableKeepAlive(boolean enable, long keepAliveTime, in enableKeepAlive() method in OkHttpChannelBuilder
398 boolean enableKeepAlive = keepAliveTimeNanos != KEEPALIVE_TIME_NANOS_DISABLED; in buildTransportFactory()
401 enableKeepAlive, keepAliveTimeNanos, keepAliveTimeoutNanos, keepAliveWithoutCalls, in buildTransportFactory()
476 private final boolean enableKeepAlive; field in OkHttpChannelBuilder.OkHttpTransportFactory
489 boolean enableKeepAlive, in OkHttpTransportFactory() argument
501 this.enableKeepAlive = enableKeepAlive; in OkHttpTransportFactory()
543 if (enableKeepAlive) { in newClientTransport()
544 transport.enableKeepAlive( in newClientTransport()
DOkHttpClientTransport.java187 private boolean enableKeepAlive; field in OkHttpClientTransport
287 void enableKeepAlive(boolean enable, long keepAliveTimeNanos, in enableKeepAlive() method in OkHttpClientTransport
289 enableKeepAlive = enable; in enableKeepAlive()
416 if (enableKeepAlive) { in start()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyChannelBuilder.java268 public final NettyChannelBuilder enableKeepAlive(boolean enable) { in enableKeepAlive() method in NettyChannelBuilder
281 public final NettyChannelBuilder enableKeepAlive(boolean enable, long keepAliveTime, in enableKeepAlive() method in NettyChannelBuilder
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientTransportTest.java596 int maxHeaderListSize, String userAgent, boolean enableKeepAlive) { in newTransport() argument
599 if (enableKeepAlive) { in newTransport()