Uses of Class
com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig
Packages that use LocalDatastoreServiceTestConfig
-
Uses of LocalDatastoreServiceTestConfig in com.google.appengine.tools.development.testing
Methods in com.google.appengine.tools.development.testing that return LocalDatastoreServiceTestConfigModifier and TypeMethodDescriptionLocalDatastoreServiceTestConfig.setAlternateHighRepJobPolicyClass(Class<? extends HighRepJobPolicy> alternateHighRepJobPolicyClass) An alternateHighRepJobPolicyimplementation.LocalDatastoreServiceTestConfig.setApplyAllHighRepJobPolicy()Make the datastore a high-replication datastore, but with all jobs applying immediately (simplifies tests that use eventually-consistent queries).LocalDatastoreServiceTestConfig.setAutoIdAllocationPolicy(LocalDatastoreService.AutoIdAllocationPolicy autoIdAllocationPolicy) Dictate how Put() assigns auto IDs.LocalDatastoreServiceTestConfig.setBackingStoreLocation(String backingStoreLocation) Where to read/store the datastore from/to.LocalDatastoreServiceTestConfig.setDefaultHighRepJobPolicyRandomSeed(long defaultHighRepJobPolicyRandomSeed) A seed for aRandomused byDefaultHighRepJobPolicyto determine whether or not a job application attempt fails.LocalDatastoreServiceTestConfig.setDefaultHighRepJobPolicyUnappliedJobPercentage(float defaultHighRepJobPolicyUnappliedJobPercentage) The percentage of job application attempts that will fail.LocalDatastoreServiceTestConfig.setMaxQueryLifetimeMs(int maxQueryLifetimeMs) Sets how long a query can stay "live" before we expire it.LocalDatastoreServiceTestConfig.setMaxTxnLifetimeMs(int maxTxnLifetimeMs) Sets how long a txn can stay "live" before we expire it.LocalDatastoreServiceTestConfig.setNoIndexAutoGen(boolean noIndexAutoGen) True to prevent the datastore from writing the auto-generated index file.LocalDatastoreServiceTestConfig.setNoStorage(boolean noStorage) True to put the datastore into "memory-only" mode.LocalDatastoreServiceTestConfig.setStoreDelayMs(int storeDelayMs) Sets how long to wait before updating the persistent store.