public interface Repository extends javax.resource.cci.ConnectionFactory, RepositoryManagement
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the repository and release all resources.
|
Session |
getConnection()
Gets a new connection by logging in to the repository with default credentials.
|
Session |
getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
Gets a new connection by logging in to the repository with given connection information (credentials).
|
getReference
cleanupDeletedDocuments, clearCaches, getActiveSessionsCount, getBinaryGarbageCollector, getCachePristineSize, getCacheSelectionSize, getCacheSize, getName, markReferencedBinaries, processClusterInvalidationsNext
Session getConnection() throws StorageException
getConnection
in interface javax.resource.cci.ConnectionFactory
StorageException
Session getConnection(javax.resource.cci.ConnectionSpec connectionSpec) throws StorageException
getConnection
in interface javax.resource.cci.ConnectionFactory
connectionSpec
- the parameters to use to connnectStorageException
void close() throws StorageException
StorageException
Copyright © 2015 Nuxeo SA. All rights reserved.