Searched refs:maxConnectionIdle (Results 1 – 3 of 3) sorted by relevance
340 public NettyServerBuilder maxConnectionIdle(long maxConnectionIdle, TimeUnit timeUnit) { in maxConnectionIdle() method in NettyServerBuilder341 checkArgument(maxConnectionIdle > 0L, "max connection idle must be positive"); in maxConnectionIdle()342 maxConnectionIdleInNanos = timeUnit.toNanos(maxConnectionIdle); in maxConnectionIdle()
93 builder.maxConnectionIdle(-1, TimeUnit.HOURS); in failIfMaxConnectionIdleNegative()
74 .maxConnectionIdle(1, TimeUnit.HOURS) in forPort()