Interface Datastore.TransactionCallable<T>

  • Type Parameters:
    T - the type of the return value
    Enclosing interface:
    Datastore

    public static interface Datastore.TransactionCallable<T>
    A callback for running with a transactional DatastoreReaderWriter. The associated transaction will be committed after a successful return from the run method. Any propagated exception will cause the transaction to be rolled-back.