Home
last modified time | relevance | path

Searched refs:maxConnectionAge (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerBuilder.java360 public NettyServerBuilder maxConnectionAge(long maxConnectionAge, TimeUnit timeUnit) { in maxConnectionAge() method in NettyServerBuilder
361 checkArgument(maxConnectionAge > 0L, "max connection age must be positive"); in maxConnectionAge()
362 maxConnectionAgeInNanos = timeUnit.toNanos(maxConnectionAge); in maxConnectionAge()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerBuilderTest.java101 builder.maxConnectionAge(-1, TimeUnit.HOURS); in failIfMaxConnectionAgeNegative()