Interface AsyncTransactionManager.CommitTimestampFuture

  • All Superinterfaces:
    com.google.api.core.ApiFuture<com.google.cloud.Timestamp>, Future<com.google.cloud.Timestamp>
    Enclosing interface:
    AsyncTransactionManager

    public static interface AsyncTransactionManager.CommitTimestampFuture
    extends com.google.api.core.ApiFuture<com.google.cloud.Timestamp>
    ApiFuture that returns the commit Timestamp of a Cloud Spanner transaction that is executed using an AsyncTransactionManager. This future is returned by the call to AsyncTransactionManager.AsyncTransactionStep.commitAsync() of the last step in the transaction.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.cloud.Timestamp get()
      Returns the commit timestamp of the transaction.
      com.google.cloud.Timestamp get​(long timeout, TimeUnit unit)
      Same as get(), but will throw a TimeoutException if the transaction does not finish within the timeout.
      • Methods inherited from interface com.google.api.core.ApiFuture

        addListener