public interface AsyncSessionFactory
| Modifier and Type | Method and Description |
|---|---|
AsyncSession |
createAsyncSession(Session session)
Creates a
AsyncSession session object. |
AsyncSession |
createAsyncSession(Session session,
int maxParallelRequests)
Creates a
AsyncSession session object. |
AsyncSession createAsyncSession(Session session)
AsyncSession session object.session - the session, not nullAsyncSession session objectSessionAsyncSession createAsyncSession(Session session, int maxParallelRequests)
AsyncSession session object.session - the session, not nullmaxParallelRequests - the maximum number of parallel requests (best-effort of the
implementation)AsyncSession session objectSessionCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.