public interface RepositoryManagement
Modifier and Type | Method and 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.
|
int |
getActiveSessionsCount()
Gets the number of active sessions.
|
long |
getCachePristineSize()
Evaluate number of elements in hier cache
|
long |
getCacheSelectionSize()
Evaluate number of elements in selection cache
|
long |
getCacheSize()
Evaluate number of elements in all caches
|
String |
getName()
Gets the repository name.
|
void |
markReferencedBinaries()
Marks the binaries in use by passing them to the binary manager(s)'s GC mark() method.
|
void |
processClusterInvalidationsNext()
Makes sure that the next transaction will process cluster invalidations.
|
int getActiveSessionsCount()
long getCacheSize()
long getCachePristineSize()
long getCacheSelectionSize()
int clearCaches()
void processClusterInvalidationsNext()
void markReferencedBinaries()
int cleanupDeletedDocuments(int max, Calendar beforeTime)
max
- the maximum number of documents to delete at a timebeforeTime
- the maximum deletion time of the documents to deleteCopyright © 2017 Nuxeo. All rights reserved.