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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
cleanupDeletedDocuments(int max, Calendar beforeTime)
Cleans up (hard-deletes) any documents that have been soft-deleted in the database.int
clearCaches()
Clears all the caches.long
getCachePristineSize()
Evaluate number of elements in hier cachelong
getCacheSelectionSize()
Evaluate number of elements in selection cachelong
getCacheSize()
Evaluate number of elements in all cachesFulltextConfiguration
getFulltextConfiguration()
Gets the fulltext configuration.String
getName()
Gets the repository name.void
processClusterInvalidationsNext()
Makes sure that the next transaction will process cluster invalidations.
-
-
-
Method Detail
-
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
int cleanupDeletedDocuments(int max, Calendar beforeTime)
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
-
-