Class AbstractReactiveSession<S>

java.lang.Object
org.neo4j.driver.internal.reactive.AbstractReactiveSession<S>
Direct Known Subclasses:
InternalReactiveSession, InternalReactiveSession, InternalRxSession

public abstract class AbstractReactiveSession<S> extends Object
  • Field Details

  • Constructor Details

    • AbstractReactiveSession

      public AbstractReactiveSession(NetworkSession session)
  • Method Details

    • createTransaction

      protected abstract S createTransaction(UnmanagedTransaction unmanagedTransaction)
    • closeTransaction

      protected abstract org.reactivestreams.Publisher<Void> closeTransaction(S transaction, boolean commit)
    • doBeginTransaction

      protected org.reactivestreams.Publisher<S> doBeginTransaction(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork)
    • runTransaction

      protected <T> org.reactivestreams.Publisher<T> runTransaction(AccessMode mode, Function<S,? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config)
    • lastBookmarks

      public Set<Bookmark> lastBookmarks()
    • run

      protected <T> org.reactivestreams.Publisher<T> run(Query query, TransactionConfig config, Function<RxResultCursor,T> cursorToResult)
    • doClose

      protected <T> org.reactivestreams.Publisher<T> doClose()