Class ApplicationTransaction

java.lang.Object
com.yahoo.config.provision.ApplicationTransaction
All Implemented Interfaces:
Closeable, AutoCloseable

public class ApplicationTransaction extends Object implements Closeable
A transaction which exists while holding the application provision lock.
Author:
bratseth
  • Constructor Details

    • ApplicationTransaction

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

    • application

      public ApplicationId application()
    • nested

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

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable