Examples of maxEntityGroupsPerRpc()


Examples of com.google.appengine.api.datastore.DatastoreServiceConfig.maxEntityGroupsPerRpc()

        config.implicitTransactionManagementPolicy(ImplicitTransactionManagementPolicy.NONE);
        assertEquals(ImplicitTransactionManagementPolicy.NONE, config.getImplicitTransactionManagementPolicy());

        config = DatastoreServiceConfig.Builder.withMaxEntityGroupsPerRpc(5);
        assertEquals(new Integer(5), config.getMaxEntityGroupsPerRpc());
        config.maxEntityGroupsPerRpc(2);
        assertEquals(new Integer(2), config.getMaxEntityGroupsPerRpc());

        config = DatastoreServiceConfig.Builder.withReadPolicy(new ReadPolicy(Consistency.EVENTUAL));
        assertEquals(new ReadPolicy(Consistency.EVENTUAL).getConsistency(), config.getReadPolicy().getConsistency());
        config.readPolicy(new ReadPolicy(Consistency.STRONG));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.