Interface ServiceProvider

    • Method Detail

      • cleanUpForBrokenEntities

        void cleanUpForBrokenEntities​(PrimaryDataDirectory root)
        Clean up function to remove objects, if a upload failed
        Parameters:
        root - the initial directory to start clean process
      • cleanUpForRejectedEntities

        void cleanUpForRejectedEntities()
        Clean up function to remove objects, if a request for a persistent identifier was rejected
      • getAvailableStorageSpace

        java.lang.Long getAvailableStorageSpace()
                                         throws EdalException
        Getter for the available space in the mount path of eDAL.
        Returns:
        available space
        Throws:
        EdalException - if no path is specified.
      • getNumberOfUsers

        int getNumberOfUsers()
        Function to get the current number of users, who have ever login to the current instance
        Returns:
        the number of logged users
      • getUsedStorageSpace

        java.lang.Long getUsedStorageSpace()
                                    throws EdalException
        Getter for the used space in the mount path of eDAL.
        Returns:
        used space
        Throws:
        EdalException - if no path is specified.
      • isCleaned

        boolean isCleaned()
        Get flag for rebuild Lucene Index after a cleanup.
        Returns:
        the flag
      • setCleaned

        void setCleaned​(boolean flag)
        Set flag for rebuild Lucene Index after a cleanup.
        Parameters:
        flag - the flag to set