Searched refs:maxConnectionAge (Results 1 – 2 of 2) sorted by relevance
360 public NettyServerBuilder maxConnectionAge(long maxConnectionAge, TimeUnit timeUnit) { in maxConnectionAge() method in NettyServerBuilder361 checkArgument(maxConnectionAge > 0L, "max connection age must be positive"); in maxConnectionAge()362 maxConnectionAgeInNanos = timeUnit.toNanos(maxConnectionAge); in maxConnectionAge()
101 builder.maxConnectionAge(-1, TimeUnit.HOURS); in failIfMaxConnectionAgeNegative()