Home
last modified time | relevance | path

Searched refs:keepAliveTimeoutInNanos (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DKeepAliveManager.java72 shutdownFuture = scheduler.schedule(shutdown, keepAliveTimeoutInNanos,
91 private long keepAliveTimeoutInNanos; field in KeepAliveManager
126 long keepAliveTimeInNanos, long keepAliveTimeoutInNanos, in KeepAliveManager() argument
128 this(keepAlivePinger, scheduler, SYSTEM_TICKER, keepAliveTimeInNanos, keepAliveTimeoutInNanos, in KeepAliveManager()
134 Ticker ticker, long keepAliveTimeInNanos, long keepAliveTimeoutInNanos, in KeepAliveManager() argument
140 this.keepAliveTimeoutInNanos = keepAliveTimeoutInNanos; in KeepAliveManager()
240 public static long clampKeepAliveTimeoutInNanos(long keepAliveTimeoutInNanos) { in clampKeepAliveTimeoutInNanos() argument
241 return Math.max(keepAliveTimeoutInNanos, MIN_KEEPALIVE_TIMEOUT_NANOS); in clampKeepAliveTimeoutInNanos()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerBuilder.java85 private long keepAliveTimeoutInNanos = DEFAULT_SERVER_KEEPALIVE_TIMEOUT_NANOS; field in NettyServerBuilder
321 keepAliveTimeoutInNanos = timeUnit.toNanos(keepAliveTimeout); in keepAliveTimeout()
322 keepAliveTimeoutInNanos = in keepAliveTimeout()
323 KeepAliveManager.clampKeepAliveTimeoutInNanos(keepAliveTimeoutInNanos); in keepAliveTimeout()
324 if (keepAliveTimeoutInNanos < MIN_KEEPALIVE_TIMEOUT_NANO) { in keepAliveTimeout()
326 keepAliveTimeoutInNanos = MIN_KEEPALIVE_TIMEOUT_NANO; in keepAliveTimeout()
436 maxMessageSize, maxHeaderListSize, keepAliveTimeInNanos, keepAliveTimeoutInNanos, in buildTransportServer()
DNettyServerTransport.java71 private final long keepAliveTimeoutInNanos; field in NettyServerTransport
91 long keepAliveTimeoutInNanos, in NettyServerTransport() argument
108 this.keepAliveTimeoutInNanos = keepAliveTimeoutInNanos; in NettyServerTransport()
264 keepAliveTimeoutInNanos, in createHandler()
DNettyServer.java86 private final long keepAliveTimeoutInNanos; field in NettyServer
108 long keepAliveTimeInNanos, long keepAliveTimeoutInNanos, in NettyServer() argument
129 this.keepAliveTimeoutInNanos = keepAliveTimeoutInNanos; in NettyServer()
203 keepAliveTimeoutInNanos, in start()
DNettyServerHandler.java108 private final long keepAliveTimeoutInNanos; field in NettyServerHandler
142 long keepAliveTimeoutInNanos, in newHandler() argument
167 keepAliveTimeoutInNanos, in newHandler()
188 long keepAliveTimeoutInNanos, in newHandler() argument
229 keepAliveTimeInNanos, keepAliveTimeoutInNanos, in newHandler()
246 long keepAliveTimeoutInNanos, in NettyServerHandler() argument
294 this.keepAliveTimeoutInNanos = keepAliveTimeoutInNanos; in NettyServerHandler()
341 keepAliveTimeInNanos, keepAliveTimeoutInNanos, true /* keepAliveDuringTransportIdle */); in handlerAdded()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java141 private long keepAliveTimeoutInNanos = DEFAULT_SERVER_KEEPALIVE_TIMEOUT_NANOS; field in NettyServerHandlerTest
573 keepAliveTimeoutInNanos = TimeUnit.MINUTES.toNanos(30L); in keepAliveManager_pingSent()
593 keepAliveTimeoutInNanos = 456L /* nanoseconds */; in keepAliveManager_pingTimeout()
600 fakeClock().forwardNanos(keepAliveTimeoutInNanos); in keepAliveManager_pingTimeout()
1073 keepAliveTimeoutInNanos, in newHandler()