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 null
AsyncSession
session objectSession
AsyncSession createAsyncSession(Session session, int maxParallelRequests)
AsyncSession
session object.session
- the session, not null
maxParallelRequests
- the maximum number of parallel requests (best-effort of the
implementation)AsyncSession
session objectSession
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.