Interface AsyncRunner


  • public interface AsyncRunner
    • Method Detail

      • runAsync

        <R> com.google.api.core.ApiFuture<R> runAsync​(AsyncRunner.AsyncWork<R> work,
                                                      Executor executor)
        Executes a read/write transaction asynchronously using the given executor.
      • getCommitTimestamp

        com.google.api.core.ApiFuture<com.google.cloud.Timestamp> getCommitTimestamp()
        Returns the timestamp at which the transaction committed. Future.get() will throw an ExecutionException if the transaction did not commit.