Uses of Class
com.google.appengine.api.datastore.DatastoreServiceConfig
-
Packages that use DatastoreServiceConfig Package Description com.google.appengine.api.datastore -
-
Uses of DatastoreServiceConfig in com.google.appengine.api.datastore
Methods in com.google.appengine.api.datastore that return DatastoreServiceConfig Modifier and Type Method Description DatastoreServiceConfig
DatastoreServiceConfig. deadline(double deadline)
Sets the deadline, in seconds, for all rpcs initiated by theDatastoreService
with which this config is associated.DatastoreServiceConfig
DatastoreServiceConfig. implicitTransactionManagementPolicy(ImplicitTransactionManagementPolicy p)
Sets the implicit transaction management policy.DatastoreServiceConfig
DatastoreServiceConfig. maxEntityGroupsPerRpc(int maxEntityGroupsPerRpc)
Sets the maximum number of entity groups that can be represented in a single rpc.DatastoreServiceConfig
DatastoreServiceConfig. readPolicy(ReadPolicy readPolicy)
Sets the read policy.static DatastoreServiceConfig
DatastoreServiceConfig.Builder. withDeadline(double deadline)
Create aDatastoreServiceConfig
with the given deadline, in seconds.static DatastoreServiceConfig
DatastoreServiceConfig.Builder. withDefaults()
Helper method for creating aDatastoreServiceConfig
instance with default values: Implicit transactions are disabled, reads execute withReadPolicy.Consistency.STRONG
, and no deadline is provided.static DatastoreServiceConfig
DatastoreServiceConfig.Builder. withImplicitTransactionManagementPolicy(ImplicitTransactionManagementPolicy p)
Create aDatastoreServiceConfig
with the given implicit transaction management policy.static DatastoreServiceConfig
DatastoreServiceConfig.Builder. withMaxEntityGroupsPerRpc(int maxEntityGroupsPerRpc)
Create aDatastoreServiceConfig
with the given maximum entity groups per rpc.static DatastoreServiceConfig
DatastoreServiceConfig.Builder. withReadPolicy(ReadPolicy readPolicy)
Create aDatastoreServiceConfig
with the given read policy.Methods in com.google.appengine.api.datastore with parameters of type DatastoreServiceConfig Modifier and Type Method Description static AsyncDatastoreService
DatastoreServiceFactory. getAsyncDatastoreService(DatastoreServiceConfig config)
Creates anAsyncDatastoreService
using the provided config.AsyncDatastoreService
IDatastoreServiceFactory. getAsyncDatastoreService(DatastoreServiceConfig config)
Creates anAsyncDatastoreService
using the provided config.static DatastoreService
DatastoreServiceFactory. getDatastoreService(DatastoreServiceConfig config)
Creates aDatastoreService
using the provided config.DatastoreService
IDatastoreServiceFactory. getDatastoreService(DatastoreServiceConfig config)
Creates aDatastoreService
using the provided config.static AdminDatastoreService
AdminDatastoreService. getInstance(DatastoreServiceConfig config, String appId)
Returns an AdminUtils instance for the givenappId
and the "" (empty) namespace.static AdminDatastoreService
AdminDatastoreService. getInstance(DatastoreServiceConfig config, String appId, String namespace)
Returns an AdminUtils instance for the givenappId
andnamespace
.
-