Home
last modified time | relevance | path

Searched refs:keepAliveTime (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java224 return keepAliveTime(DEFAULT_KEEPALIVE_TIME_NANOS, TimeUnit.NANOSECONDS); in enableKeepAlive()
226 return keepAliveTime(KEEPALIVE_TIME_NANOS_DISABLED, TimeUnit.NANOSECONDS); in enableKeepAlive()
236 public final OkHttpChannelBuilder enableKeepAlive(boolean enable, long keepAliveTime, in enableKeepAlive() argument
239 return keepAliveTime(keepAliveTime, delayUnit) in enableKeepAlive()
242 return keepAliveTime(KEEPALIVE_TIME_NANOS_DISABLED, TimeUnit.NANOSECONDS); in enableKeepAlive()
252 public OkHttpChannelBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() argument
253 Preconditions.checkArgument(keepAliveTime > 0L, "keepalive time must be positive"); in keepAliveTime()
254 keepAliveTimeNanos = timeUnit.toNanos(keepAliveTime); in keepAliveTime()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyChannelBuilder.java269 return keepAliveTime(DEFAULT_KEEPALIVE_TIME_NANOS, TimeUnit.NANOSECONDS); in enableKeepAlive()
271 return keepAliveTime(KEEPALIVE_TIME_NANOS_DISABLED, TimeUnit.NANOSECONDS); in enableKeepAlive()
280 public final NettyChannelBuilder enableKeepAlive(boolean enable, long keepAliveTime, in enableKeepAlive() argument
283 return keepAliveTime(keepAliveTime, delayUnit) in enableKeepAlive()
286 return keepAliveTime(KEEPALIVE_TIME_NANOS_DISABLED, TimeUnit.NANOSECONDS); in enableKeepAlive()
295 public NettyChannelBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() argument
296 checkArgument(keepAliveTime > 0L, "keepalive time must be positive"); in keepAliveTime()
297 keepAliveTimeNanos = timeUnit.toNanos(keepAliveTime); in keepAliveTime()
DNettyServerBuilder.java298 public NettyServerBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() argument
299 checkArgument(keepAliveTime > 0L, "keepalive time must be positive"); in keepAliveTime()
300 keepAliveTimeInNanos = timeUnit.toNanos(keepAliveTime); in keepAliveTime()
404 public NettyServerBuilder permitKeepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in permitKeepAliveTime() argument
405 checkArgument(keepAliveTime >= 0, "permit keepalive time must be non-negative"); in permitKeepAliveTime()
406 permitKeepAliveTimeInNanos = timeUnit.toNanos(keepAliveTime); in permitKeepAliveTime()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DForwardingChannelBuilder.java161 public T keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() method in ForwardingChannelBuilder
162 delegate().keepAliveTime(keepAliveTime, timeUnit); in keepAliveTime()
DManagedChannelBuilder.java321 public T keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() method in ManagedChannelBuilder
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessChannelBuilder.java115 public InProcessChannelBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() argument
/external/testng/src/main/java/org/testng/internal/thread/graph/
DGraphThreadPoolExecutor.java35 int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue) { in GraphThreadPoolExecutor() argument
36 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue in GraphThreadPoolExecutor()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerBuilderTest.java61 builder.keepAliveTime(-10L, TimeUnit.HOURS); in failIfKeepAliveTimeNegative()
DNettyChannelBuilderTest.java201 builder.keepAliveTime(-1L, TimeUnit.HOURS); in negativeKeepAliveTime()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsChannelBuilder.java83 .keepAliveTime(20, TimeUnit.SECONDS) in AltsChannelBuilder()
DAltsServerBuilder.java75 .keepAliveTime(270, TimeUnit.SECONDS) in forPort()