AsyncDatastoreService (Google App Engine API for Java)

com.google.appengine.api.datastore

Interface AsyncDatastoreService

  • All Superinterfaces:
    BaseDatastoreService
    All Known Implementing Classes:
    AdminDatastoreService


    public interface AsyncDatastoreService
    extends BaseDatastoreService
    An asynchronous version of DatastoreService. All methods return immediately and provide Futures as their return values.

    The key difference between implementations of AsyncDatastoreService and implementations of DatastoreService is that async implementations do not perform implicit transaction management. The reason is that implicit transaction management requires automatic commits of some transactions, and without some sort of callback mechanism there is no way to determine that a put/get/delete that has been implicitly enrolled in a transaction is complete and therefore ready to be committed. See ImplicitTransactionManagementPolicy for more information.

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
App Engine standard environment for Java 8