Interface FdbConnection
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DirectFdbConnection
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 Summary
-
Method Details
-
getTransactionManager
TransactionManager getTransactionManager() -
close
void close() throws com.apple.foundationdb.relational.api.exceptions.RelationalException- Specified by:
closein interfaceAutoCloseable- Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-