Class TransactionBoundStorageCluster
java.lang.Object
com.apple.foundationdb.relational.transactionbound.TransactionBoundStorageCluster
- All Implemented Interfaces:
 StorageCluster
@API(EXPERIMENTAL)
public class TransactionBoundStorageCluster
extends Object
implements StorageCluster
A thin implementation of 
StorageCluster creates a new TransactionBoundDatabase
 when loadDatabase(URI, Options) is called.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGet the transaction manager for this cluster.loadDatabase(URI url, com.apple.foundationdb.relational.api.Options connOptions) Load the specified database, if it is located within this cluster. 
- 
Constructor Details
- 
TransactionBoundStorageCluster
 
 - 
 - 
Method Details
- 
loadDatabase
@Nullable public RelationalDatabase loadDatabase(@Nonnull URI url, @Nonnull com.apple.foundationdb.relational.api.Options connOptions) throws com.apple.foundationdb.relational.api.exceptions.RelationalException Description copied from interface:StorageClusterLoad the specified database, if it is located within this cluster. If the specified database does not exist in this cluster,nullis returned. //TODO(bfines) ensure implementations actually hold to that spec.- Specified by:
 loadDatabasein interfaceStorageCluster- Parameters:
 url- the path to the database of interest.connOptions- options to use when connecting- Returns:
 - the Database at the specified location, or 
nullif no such database exist within this cluster. - Throws:
 com.apple.foundationdb.relational.api.exceptions.RelationalException- if something goes wrong.
 - 
getTransactionManager
Description copied from interface:StorageClusterGet the transaction manager for this cluster.- Specified by:
 getTransactionManagerin interfaceStorageCluster- Returns:
 - the transaction manager for this cluster;
 
 
 -