Home
last modified time | relevance | path

Searched refs:maxConnectionAgeInNanos (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServer.java88 private final long maxConnectionAgeInNanos; field in NettyServer
110 long maxConnectionAgeInNanos, long maxConnectionAgeGraceInNanos, in NettyServer() argument
131 this.maxConnectionAgeInNanos = maxConnectionAgeInNanos; in NettyServer()
184 long maxConnectionAgeInNanos = NettyServer.this.maxConnectionAgeInNanos; in start()
185 if (maxConnectionAgeInNanos != MAX_CONNECTION_AGE_NANOS_DISABLED) { in start()
187 maxConnectionAgeInNanos = in start()
188 (long) ((.9D + Math.random() * .2D) * maxConnectionAgeInNanos); in start()
205 maxConnectionAgeInNanos, in start()
DNettyServerBuilder.java87 private long maxConnectionAgeInNanos = MAX_CONNECTION_AGE_NANOS_DISABLED; field in NettyServerBuilder
362 maxConnectionAgeInNanos = timeUnit.toNanos(maxConnectionAge); in maxConnectionAge()
363 if (maxConnectionAgeInNanos >= AS_LARGE_AS_INFINITE) { in maxConnectionAge()
364 maxConnectionAgeInNanos = MAX_CONNECTION_AGE_NANOS_DISABLED; in maxConnectionAge()
366 if (maxConnectionAgeInNanos < MIN_MAX_CONNECTION_AGE_NANO) { in maxConnectionAge()
367 maxConnectionAgeInNanos = MIN_MAX_CONNECTION_AGE_NANO; in maxConnectionAge()
438 maxConnectionAgeInNanos, maxConnectionAgeGraceInNanos, in buildTransportServer()
DNettyServerTransport.java73 private final long maxConnectionAgeInNanos; field in NettyServerTransport
93 long maxConnectionAgeInNanos, in NettyServerTransport() argument
110 this.maxConnectionAgeInNanos = maxConnectionAgeInNanos; in NettyServerTransport()
266 maxConnectionAgeInNanos, in createHandler()
DNettyServerHandler.java109 private final long maxConnectionAgeInNanos; field in NettyServerHandler
144 long maxConnectionAgeInNanos, in newHandler() argument
169 maxConnectionAgeInNanos, in newHandler()
190 long maxConnectionAgeInNanos, in newHandler() argument
231 maxConnectionAgeInNanos, maxConnectionAgeGraceInNanos, in newHandler()
248 long maxConnectionAgeInNanos, in NettyServerHandler() argument
296 this.maxConnectionAgeInNanos = maxConnectionAgeInNanos; in NettyServerHandler()
319 if (maxConnectionAgeInNanos != MAX_CONNECTION_AGE_NANOS_DISABLED) { in handlerAdded()
331 maxConnectionAgeInNanos, in handlerAdded()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java138 private long maxConnectionAgeInNanos = MAX_CONNECTION_AGE_NANOS_DISABLED; field in NettyServerHandlerTest
846 maxConnectionAgeInNanos = TimeUnit.MINUTES.toNanos(30L); in noGoAwaySentBeforeMaxConnectionAgeReached()
861 maxConnectionAgeInNanos = TimeUnit.MILLISECONDS.toNanos(10L); in maxConnectionAge_goAwaySent_pingAck()
865 fakeClock().forwardNanos(maxConnectionAgeInNanos); in maxConnectionAge_goAwaySent_pingAck()
897 maxConnectionAgeInNanos = TimeUnit.MILLISECONDS.toNanos(10L); in maxConnectionAge_goAwaySent_pingTimeout()
901 fakeClock().forwardNanos(maxConnectionAgeInNanos); in maxConnectionAge_goAwaySent_pingTimeout()
927 maxConnectionAgeInNanos = TimeUnit.MILLISECONDS.toNanos(10L); in maxConnectionAgeGrace_channelStillOpenDuringGracePeriod()
932 fakeClock().forwardNanos(maxConnectionAgeInNanos); in maxConnectionAgeGrace_channelStillOpenDuringGracePeriod()
958 maxConnectionAgeInNanos = TimeUnit.MILLISECONDS.toNanos(10L); in maxConnectionAgeGrace_channelClosedAfterGracePeriod_withPingTimeout()
963 fakeClock().forwardNanos(maxConnectionAgeInNanos); in maxConnectionAgeGrace_channelClosedAfterGracePeriod_withPingTimeout()
[all …]