Class TransactionManager


  • public class TransactionManager
    extends Object
    • Constructor Detail

    • Method Detail

      • close

        public void close​(boolean drop)
      • createTransactionBuffer

        public Binary createTransactionBuffer​(long txId,
                                              List<MutablePage> pages)
      • notifyPageFlushed

        public void notifyPageFlushed​(MutablePage page)
      • checkIntegrity

        public void checkIntegrity()
      • kill

        public void kill()
      • getNextTransactionId

        public long getNextTransactionId()
      • tryLockFiles

        public List<Integer> tryLockFiles​(Collection<Integer> fileIds,
                                          long timeout)
        Returns the locked files only. In case the current thread already locked a resource, no error is thrown but the lock is not returned. In this way only the new acquired locks are released.
      • unlockFilesInOrder

        public void unlockFilesInOrder​(List<Integer> lockedFileIds)
      • unlockFile

        public void unlockFile​(Integer fileId)