| Package | Description |
|---|---|
| com.mongodb |
The core mongodb package
|
| com.mongodb.async.client |
This packages contains classes for the new async client
|
| com.mongodb.internal.session | |
| com.mongodb.session |
Contains classes related to sessions
|
| Modifier and Type | Method and Description |
|---|---|
ClientSessionOptions |
ClientSessionOptions.Builder.build()
Build the session options instance.
|
| Modifier and Type | Method and Description |
|---|---|
ClientSession |
MongoClient.startSession(ClientSessionOptions options)
Creates a client session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MongoClient.startSession(ClientSessionOptions options,
SingleResultCallback<ClientSession> callback)
Creates a client session.
|
| Modifier and Type | Method and Description |
|---|---|
ClientSessionOptions |
ClientSessionImpl.getOptions() |
| Constructor and Description |
|---|
ClientSessionImpl(ServerSessionPool serverSessionPool,
Object originator,
ClientSessionOptions options) |
| Modifier and Type | Method and Description |
|---|---|
ClientSessionOptions |
ClientSession.getOptions()
Get the options for this session.
|
Copyright © 2018. All rights reserved.