Class DatastoreServiceFactory
java.lang.Object
com.google.appengine.api.datastore.DatastoreServiceFactory
Creates DatastoreService implementations.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Exposed by accident, do not instantiate. -
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncDatastoreService
Creates anAsyncDatastoreService
using the default config (DatastoreServiceConfig.Builder.withDefaults()
).static AsyncDatastoreService
Creates anAsyncDatastoreService
using the provided config.static DatastoreService
Creates aDatastoreService
using the default config (DatastoreServiceConfig.Builder.withDefaults()
).static DatastoreService
getDatastoreService
(DatastoreConfig oldConfig) Deprecated.UsegetDatastoreService(DatastoreServiceConfig)
instead.static DatastoreService
Creates aDatastoreService
using the provided config.static DatastoreConfig
Deprecated.UseDatastoreServiceConfig.Builder.withDefaults()
instead.
-
Constructor Details
-
DatastoreServiceFactory
Deprecated.Exposed by accident, do not instantiate.
-
-
Method Details
-
getDatastoreService
Creates aDatastoreService
using the provided config. -
getDatastoreService
Creates aDatastoreService
using the default config (DatastoreServiceConfig.Builder.withDefaults()
). -
getDatastoreService
Deprecated.UsegetDatastoreService(DatastoreServiceConfig)
instead.Creates aDatastoreService
using the provided config. -
getAsyncDatastoreService
Creates anAsyncDatastoreService
using the provided config. The async datastore service does not support implicit transaction management policyImplicitTransactionManagementPolicy.AUTO
.- Throws:
IllegalArgumentException
- If the providedDatastoreServiceConfig
has an implicit transaction management policy ofImplicitTransactionManagementPolicy.AUTO
.
-
getAsyncDatastoreService
Creates anAsyncDatastoreService
using the default config (DatastoreServiceConfig.Builder.withDefaults()
). -
getDefaultDatastoreConfig
Deprecated.UseDatastoreServiceConfig.Builder.withDefaults()
instead.
-