Interface RepositoryManagement

    • Method Detail

      • 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
      • markReferencedBinaries

        void markReferencedBinaries()
        Marks the binaries in use by passing them to the binary manager(s)'s GC mark() method.
      • 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 time
        beforeTime - the maximum deletion time of the documents to delete
        Returns:
        the number of documents deleted