Class ApplicationTransaction

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class ApplicationTransaction
    extends java.lang.Object
    implements java.io.Closeable
    A transaction which exists while holding the application provision lock.
    Author:
    bratseth
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApplicationId application()  
      void close()  
      com.yahoo.transaction.NestedTransaction nested()
      Returns the NestedTransaction of this
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApplicationTransaction

        public ApplicationTransaction​(ProvisionLock lock,
                                      com.yahoo.transaction.NestedTransaction transaction)
    • Method Detail

      • nested

        public com.yahoo.transaction.NestedTransaction nested()
        Returns the NestedTransaction of this
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable