Home
last modified time | relevance | path

Searched refs:SharedResourcePool (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DSharedResourcePool.java22 public final class SharedResourcePool<T> implements ObjectPool<T> { class
25 private SharedResourcePool(SharedResourceHolder.Resource<T> resource) { in SharedResourcePool() method in SharedResourcePool
29 public static <T> SharedResourcePool<T> forResource(SharedResourceHolder.Resource<T> resource) { in forResource()
30 return new SharedResourcePool<T>(resource); in forResource()
DAbstractManagedChannelImplBuilder.java84 SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR);
409 SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR), in build()
DAbstractServerImplBuilder.java61 SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR);
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbLoadBalancerFactory.java23 import io.grpc.internal.SharedResourcePool;
52 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), in newLoadBalancer()
/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessTransportTest.java23 import io.grpc.internal.SharedResourcePool;
42 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), streamTracerFactories); in newServer()
DInProcessServerTest.java27 import io.grpc.internal.SharedResourcePool;
40 new InProcessServer("name", SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), in getPort_notStarted()
DInProcessServerBuilderTest.java28 import io.grpc.internal.SharedResourcePool;
62 SharedResourcePool.forResource(TIMER_SERVICE); in scheduledExecutorService_default()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessServerBuilder.java28 import io.grpc.internal.SharedResourcePool;
96 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE);
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsChannelBuilder.java42 import io.grpc.internal.SharedResourcePool;
66 SharedResourcePool.forResource(HandshakerServiceChannel.SHARED_HANDSHAKER_CHANNEL);
DAltsServerBuilder.java44 import io.grpc.internal.SharedResourcePool;
63 SharedResourcePool.forResource(HandshakerServiceChannel.SHARED_HANDSHAKER_CHANNEL);