Search in sources :

Example 1 with SimpleClass1

use of org.apache.geode.pdx.SimpleClass1 in project geode by apache.

the class WANTestBase method doPutsPDXSerializable2.

public static void doPutsPDXSerializable2(String regionName, int numPuts) {
    Region r = cache.getRegion(Region.SEPARATOR + regionName);
    assertNotNull(r);
    for (int i = 0; i < numPuts; i++) {
        r.put("Key_" + i, new SimpleClass1(false, (short) i, "" + i, i, "" + i, "" + i, i, i));
    }
}
Also used : LocalRegion(org.apache.geode.internal.cache.LocalRegion) PartitionedRegion(org.apache.geode.internal.cache.PartitionedRegion) BucketRegion(org.apache.geode.internal.cache.BucketRegion) Region(org.apache.geode.cache.Region) SimpleClass1(org.apache.geode.pdx.SimpleClass1)

Aggregations

Region (org.apache.geode.cache.Region)1 BucketRegion (org.apache.geode.internal.cache.BucketRegion)1 LocalRegion (org.apache.geode.internal.cache.LocalRegion)1 PartitionedRegion (org.apache.geode.internal.cache.PartitionedRegion)1 SimpleClass1 (org.apache.geode.pdx.SimpleClass1)1