Uses of Interface
io.grpc.internal.ObjectPool
Packages that use ObjectPool
Package
Description
Interfaces and implementations that are internal to gRPC.
The main transport implementation based on Netty,
for both the client and the server.
-
Uses of ObjectPool in io.grpc.internal
Classes in io.grpc.internal that implement ObjectPoolModifier and TypeClassDescriptionfinal class
An object pool that always returns the same instance and does nothing when returning the object.final class
An ObjectPool backed by aSharedResourceHolder.Resource
.Methods in io.grpc.internal that return ObjectPoolModifier and TypeMethodDescriptionObjectPool
<? extends Executor> ServerImplBuilder.getExecutorPool()
Returns the internal ExecutorPool for offloading tasks.ObjectPool
<? extends Executor> ManagedChannelImplBuilder.getOffloadExecutorPool()
Returns the internal offload executor pool for offloading tasks. -
Uses of ObjectPool in io.grpc.netty
Methods in io.grpc.netty with parameters of type ObjectPoolModifier and TypeMethodDescriptionInternalProtocolNegotiator.ServerFactory.newNegotiator
(ObjectPool<? extends Executor> offloadExecutorPool) InternalProtocolNegotiators.tls
(io.netty.handler.ssl.SslContext sslContext, ObjectPool<? extends Executor> executorPool, Optional<Runnable> handshakeCompleteRunnable) Returns aProtocolNegotiator
that ensures the pipeline is set up so that TLS will be negotiated, thehandler
is added and writes to theChannel
may happen immediately, even before the TLS Handshake is complete.