Package org.nuxeo.ecm.core.storage.sql
Interface RepositoryManagement
- All Known Subinterfaces:
Repository
- All Known Implementing Classes:
RepositoryImpl
public interface RepositoryManagement
- Author:
- Florent Guillaume
-
Method Summary
Modifier and TypeMethodDescriptionint
cleanupDeletedDocuments
(int max, Calendar beforeTime) Cleans up (hard-deletes) any documents that have been soft-deleted in the database.int
Clears all the caches.long
Evaluate number of elements in hier cachelong
Evaluate number of elements in selection cachelong
Evaluate number of elements in all cachesGets the fulltext configuration.getName()
Gets the repository name.void
Makes sure that the next transaction will process cluster invalidations.
-
Method Details
-
getName
String getName()Gets the repository name. -
getCacheSize
long getCacheSize()Evaluate number of elements in all caches- Since:
- 5.7.2
-
getCachePristineSize
long getCachePristineSize()Evaluate number of elements in hier cache- Since:
- 5.7.2
-
getCacheSelectionSize
long getCacheSelectionSize()Evaluate number of elements in selection cache- Since:
- 5.7.2
-
clearCaches
int clearCaches()Clears all the caches.- Returns:
- an indicative count of objects removed
-
processClusterInvalidationsNext
void processClusterInvalidationsNext()Makes sure that the next transaction will process cluster invalidations. -
cleanupDeletedDocuments
Cleans up (hard-deletes) any documents that have been soft-deleted in the database.- Parameters:
max
- the maximum number of documents to delete at a timebeforeTime
- the maximum deletion time of the documents to delete- Returns:
- the number of documents deleted
-
getFulltextConfiguration
FulltextConfiguration getFulltextConfiguration()Gets the fulltext configuration.- Since:
- 10.3
-