Interface RepositorySystemSession.SessionBuilder

All Known Implementing Classes:
DefaultSessionBuilder
Enclosing interface:
RepositorySystemSession

Builder for building RepositorySystemSession.CloseableSession instances. Builder instances can be created with RepositorySystem.createSessionBuilder() method. Instances are not thread-safe nor immutable.

Important: if you set a stateful member on builder (for example SessionData or RepositoryCache), the builder will create session instances using same provided stateful members, that may lead to unexpected side effects. Solution for these cases is to not reuse builder instances, or, keep reconfiguring it, or ultimately provide suppliers that create new instance per each call.

Since:
2.0.0
Restriction:
This interface is not intended to be extended by clients.
Restriction:
This interface is not intended to be implemented by clients.