Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
Modifier and Type | Method and Description |
---|---|
ReactiveSessionScoped |
ReactiveMongoOperations.inTransaction()
|
ReactiveSessionScoped |
ReactiveMongoTemplate.inTransaction() |
ReactiveSessionScoped |
ReactiveMongoOperations.inTransaction(org.reactivestreams.Publisher<com.mongodb.reactivestreams.client.ClientSession> sessionProvider)
Obtain a
session bound instance of ReactiveSessionScoped , start the transaction and
bind the ClientSession provided by the given Publisher to each and every command issued against
MongoDB. |
ReactiveSessionScoped |
ReactiveMongoTemplate.inTransaction(org.reactivestreams.Publisher<com.mongodb.reactivestreams.client.ClientSession> sessionProvider) |
ReactiveSessionScoped |
ReactiveMongoOperations.withSession(com.mongodb.ClientSessionOptions sessionOptions)
Obtain a
session bound instance of SessionScoped binding a new ClientSession
with given sessionOptions to each and every command issued against MongoDB. |
ReactiveSessionScoped |
ReactiveMongoTemplate.withSession(com.mongodb.ClientSessionOptions sessionOptions) |
ReactiveSessionScoped |
ReactiveMongoOperations.withSession(org.reactivestreams.Publisher<com.mongodb.reactivestreams.client.ClientSession> sessionProvider)
Obtain a
session bound instance of ReactiveSessionScoped binding the
ClientSession provided by the given Publisher to each and every command issued against MongoDB. |
ReactiveSessionScoped |
ReactiveMongoTemplate.withSession(org.reactivestreams.Publisher<com.mongodb.reactivestreams.client.ClientSession> sessionProvider) |
default ReactiveSessionScoped |
ReactiveMongoOperations.withSession(Supplier<com.mongodb.reactivestreams.client.ClientSession> sessionProvider)
Obtain a
session bound instance of SessionScoped binding the ClientSession
provided by the given Supplier to each and every command issued against MongoDB. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.