/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpChannelBuilder.java | 224 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() method in OkHttpChannelBuilder 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/ |
D | NettyChannelBuilder.java | 269 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() method in NettyChannelBuilder 296 checkArgument(keepAliveTime > 0L, "keepalive time must be positive"); in keepAliveTime() 297 keepAliveTimeNanos = timeUnit.toNanos(keepAliveTime); in keepAliveTime()
|
D | NettyServerBuilder.java | 298 public NettyServerBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() method in NettyServerBuilder 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/ |
D | ForwardingChannelBuilder.java | 161 public T keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() method in ForwardingChannelBuilder 162 delegate().keepAliveTime(keepAliveTime, timeUnit); in keepAliveTime()
|
D | ManagedChannelBuilder.java | 321 public T keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() method in ManagedChannelBuilder
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/ |
D | InProcessChannelBuilder.java | 115 public InProcessChannelBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit) { in keepAliveTime() argument
|
/external/testng/src/main/java/org/testng/internal/thread/graph/ |
D | GraphThreadPoolExecutor.java | 35 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/ |
D | NettyServerBuilderTest.java | 61 builder.keepAliveTime(-10L, TimeUnit.HOURS); in failIfKeepAliveTimeNegative()
|
D | NettyChannelBuilderTest.java | 201 builder.keepAliveTime(-1L, TimeUnit.HOURS); in negativeKeepAliveTime()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/ |
D | AltsChannelBuilder.java | 83 .keepAliveTime(20, TimeUnit.SECONDS) in AltsChannelBuilder()
|
D | AltsServerBuilder.java | 75 .keepAliveTime(270, TimeUnit.SECONDS) in forPort()
|