Interface RepositoryManagement

  • All Known Subinterfaces:
    Repository
    All Known Implementing Classes:
    RepositoryImpl

    public interface RepositoryManagement
    Author:
    Florent Guillaume
    • 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 time
        beforeTime - 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