com.google.appengine.api.datastore.DatastoreServiceConfig

Here are the examples of the java api class com.google.appengine.api.datastore.DatastoreServiceConfig taken from open source projects.

1. ObjectifyImpl#createDatastoreServiceConfig()

Project: objectify
Source File: ObjectifyImpl.java
View license
/**
	 * Make a datastore service config that corresponds to our options.
	 */
protected DatastoreServiceConfig createDatastoreServiceConfig() {
    DatastoreServiceConfig cfg = DatastoreServiceConfig.Builder.withReadPolicy(new ReadPolicy(consistency));
    if (deadline != null)
        cfg.deadline(deadline);
    return cfg;
}