Home
last modified time | relevance | path

Searched refs:idleTimeoutMillis (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractManagedChannelImplBuilder.java126 long idleTimeoutMillis = IDLE_MODE_DEFAULT_TIMEOUT_MILLIS; field in AbstractManagedChannelImplBuilder
291 this.idleTimeoutMillis = ManagedChannelImpl.IDLE_TIMEOUT_MILLIS_DISABLE; in idleTimeout()
293 this.idleTimeoutMillis = Math.max(unit.toMillis(value), IDLE_MODE_MIN_TIMEOUT_MILLIS); in idleTimeout()
390 return idleTimeoutMillis; in getIdleTimeoutMillis()
DManagedChannelImpl.java137 private final long idleTimeoutMillis; field in ManagedChannelImpl
375 if (idleTimeoutMillis == IDLE_TIMEOUT_MILLIS_DISABLE) { in rescheduleIdleTimer()
378 idleTimer.reschedule(idleTimeoutMillis, TimeUnit.MILLISECONDS); in rescheduleIdleTimer()
557 if (builder.idleTimeoutMillis == IDLE_TIMEOUT_MILLIS_DISABLE) { in ManagedChannelImpl()
558 this.idleTimeoutMillis = builder.idleTimeoutMillis; in ManagedChannelImpl()
561 builder.idleTimeoutMillis in ManagedChannelImpl()
563 "invalid idleTimeoutMillis %s", builder.idleTimeoutMillis); in ManagedChannelImpl()
564 this.idleTimeoutMillis = builder.idleTimeoutMillis; in ManagedChannelImpl()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java232 if (channelBuilder.idleTimeoutMillis != ManagedChannelImpl.IDLE_TIMEOUT_MILLIS_DISABLE) { in createChannel()
1672 long idleTimeoutMillis = 2000L; in stateIsIdleOnIdleTimeout() local
1673 channelBuilder.idleTimeout(idleTimeoutMillis, TimeUnit.MILLISECONDS); in stateIsIdleOnIdleTimeout()
1680 timer.forwardNanos(TimeUnit.MILLISECONDS.toNanos(idleTimeoutMillis)); in stateIsIdleOnIdleTimeout()
1706 long idleTimeoutMillis = 2000L; in subtestPanic() local
1710 channelBuilder.idleTimeout(idleTimeoutMillis, TimeUnit.MILLISECONDS); in subtestPanic()
1719 timer.forwardNanos(TimeUnit.MILLISECONDS.toNanos(idleTimeoutMillis)); in subtestPanic()
1835 long idleTimeoutMillis = 2000L; in idleTimeoutAndReconnect() local
1836 channelBuilder.idleTimeout(idleTimeoutMillis, TimeUnit.MILLISECONDS); in idleTimeoutAndReconnect()
1839 timer.forwardNanos(TimeUnit.MILLISECONDS.toNanos(idleTimeoutMillis)); in idleTimeoutAndReconnect()
[all …]