Interface TransactionMBean

    • Method Detail

      • isPersistent

        boolean isPersistent()
        Tests if the Transaction component is persistent.
        Returns:
        true if the component is persistent; false otherwise.
      • useLoadAll

        boolean useLoadAll()
        Returns true if this Transaction implementation implements an optimized loadAll method.
        Returns:
        true if this Transaction implementation implements an optimized loadAll method.
      • getPhase

        int getPhase()
        Returns the transaction state.
        Returns:
        the transaction state.
      • getPhaseInfo

        String getPhaseInfo()
        Returns a string representation of the transaction state.
        Returns:
        the string representation of the transaction state.
      • getCommitCount

        int getCommitCount()
        Returns the number of commit operation since startup.
        Returns:
        The number of commit operation.
      • getStartTime

        long getStartTime()
        Returns the starting time.
        Returns:
        The starting time.
      • backup

        String backup​(String path)
               throws Exception
        Backups the content of Transaction module. Produces a generic Backup/Restore file containing all living objects.
        Parameters:
        path - Directory path to store the backup.
        Returns:
        the path of created backup file.
        Throws:
        Exception - An error occurs during backup.