Class H2PersistenceManager

    • Constructor Detail

      • H2PersistenceManager

        public H2PersistenceManager()
    • Method Detail

      • getLockTimeout

        public String getLockTimeout()
        Returns the lock timeout.
        Returns:
        the lock timeout
      • setLockTimeout

        public void setLockTimeout​(String lockTimeout)
        Sets the lock timeout in milliseconds.
        Parameters:
        lockTimeout - the lock timeout.
      • init

        public void init​(PMContext context)
                  throws Exception
        Initializes the persistence manager. The persistence manager is permanently bound to the given context, and any required external resources are acquired.

        An appropriate exception is thrown if the persistence manager initialization fails for whatever reason. In this case the state of the persistence manager is undefined and the instance should be discarded. Initializes the internal structures of this abstract persistence manager.

        Specified by:
        init in interface PersistenceManager
        Overrides:
        init in class BundleDbPersistenceManager
        Parameters:
        context - persistence manager context
        Throws:
        Exception - if the persistence manager initialization failed