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
Modifier and Type Method Description ReleasableHolder<EventLoop>
acquire(Endpoint endpoint, SessionProtocol sessionProtocol)
-
Method Details
-
acquire
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.
-