|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.datastore.DatastoreServiceFactory
public final class DatastoreServiceFactory
Creates DatastoreService implementations.
Constructor Summary | |
---|---|
DatastoreServiceFactory()
|
Method Summary | |
---|---|
static AsyncDatastoreService |
getAsyncDatastoreService()
Creates a AsyncDatastoreService using the default config
(DatastoreServiceConfig.Builder.withDefaults() ). |
static AsyncDatastoreService |
getAsyncDatastoreService(DatastoreServiceConfig config)
Creates a AsyncDatastoreService using the provided config. |
static DatastoreService |
getDatastoreService()
Creates a DatastoreService using the default config
(DatastoreServiceConfig.Builder.withDefaults() ). |
static DatastoreService |
getDatastoreService(DatastoreConfig oldConfig)
Deprecated. Use getDatastoreService(DatastoreServiceConfig)
instead. |
static DatastoreService |
getDatastoreService(DatastoreServiceConfig config)
Creates a DatastoreService using the provided config. |
static DatastoreConfig |
getDefaultDatastoreConfig()
Deprecated. Use DatastoreServiceConfig.Builder.withDefaults()
instead. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatastoreServiceFactory()
Method Detail |
---|
public static DatastoreService getDatastoreService()
DatastoreService
using the default config
(DatastoreServiceConfig.Builder.withDefaults()
).
public static AsyncDatastoreService getAsyncDatastoreService()
AsyncDatastoreService
using the default config
(DatastoreServiceConfig.Builder.withDefaults()
).
@Deprecated public static DatastoreService getDatastoreService(DatastoreConfig oldConfig)
getDatastoreService(DatastoreServiceConfig)
instead.
DatastoreService
using the provided config.
public static DatastoreService getDatastoreService(DatastoreServiceConfig config)
DatastoreService
using the provided config.
public static AsyncDatastoreService getAsyncDatastoreService(DatastoreServiceConfig config)
AsyncDatastoreService
using the provided config. The
async datastore service does not support implicit transaction management
policy ImplicitTransactionManagementPolicy.AUTO
.
java.lang.IllegalArgumentException
- If the provided DatastoreServiceConfig
has an implicit transaction management policy of
ImplicitTransactionManagementPolicy.AUTO
.@Deprecated public static DatastoreConfig getDefaultDatastoreConfig()
DatastoreServiceConfig.Builder.withDefaults()
instead.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |