Interface FdbConnection

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
DirectFdbConnection

public interface FdbConnection extends AutoCloseable
Represents a connection to a single FDB cluster. This functionally acts as an equivalent to FDBDatabase, but can be swapped out more cleanly on an as-needed basis. Note that FdbConnections isolate FDBDatabase, but it is not intended to isolate RecordLayer itself. Instead, it's main usage is to allow flexible implementations of Fdb connections for use by RecordLayer and it's assorted classes.
  • Method Details

    • getTransactionManager

      TransactionManager getTransactionManager()
    • close

      void close() throws com.apple.foundationdb.relational.api.exceptions.RelationalException
      Specified by:
      close in interface AutoCloseable
      Throws:
      com.apple.foundationdb.relational.api.exceptions.RelationalException