Package com.linecorp.armeria.client
Interface EventLoopScheduler
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EventLoopScheduler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReleasableHolder<EventLoop>
acquire(Endpoint endpoint, SessionProtocol sessionProtocol)
-
-
-
Method Detail
-
acquire
ReleasableHolder<EventLoop> acquire(Endpoint endpoint, SessionProtocol sessionProtocol)
Acquires anEventLoop
that is expected to handle a connection to the specifiedEndpoint
. The caller must release the returnedEventLoop
back by callingReleasableHolder.release()
so thatClientFactory
utilizesEventLoop
s efficiently.
-
-