Interface ReactiveSessionFactory
- All Known Implementing Classes:
DefaultReactiveSessionFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface to produce
ReactiveSession
instances.
Spring provides a DefaultReactiveSessionFactory
implementation that just returns the same ReactiveSession
instance. Implementations are free to return the
same session or route calls to different sessions. DefaultSessionFactory
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ReactiveSession>
Return aReactiveSession
to be used directly or inside a callback insideReactiveCqlTemplate
.
-
Method Details
-
getSession
reactor.core.publisher.Mono<ReactiveSession> getSession()Return aReactiveSession
to be used directly or inside a callback insideReactiveCqlTemplate
.- Returns:
- a
ReactiveSession
.
-