Package org.springframework.data.gemfire.mapping

Examples of org.springframework.data.gemfire.mapping.Regions


    jeff = new Person(6L, "Jeff", "Coffin");
    oliverAugust = new Person(7L, "Oliver August", "Matthews");

    GemfireMappingContext context = new GemfireMappingContext();

    Regions regions = new Regions(this.regions, context);
    GemfireTemplate template = new GemfireTemplate(regions.getRegion(Person.class));

    template.put(dave.id, dave);
    template.put(carter.id, carter);
    template.put(boyd.id, boyd);
    template.put(stefan.id, stefan);
View Full Code Here


   */
  public GemfireRepositoryFactory(Iterable<Region<?, ?>> regions, MappingContext<? extends GemfirePersistentEntity<?>,
      GemfirePersistentProperty> context) {
    Assert.notNull(regions);
    this.context = context == null ? new GemfireMappingContext() : context;
    this.regions = new Regions(regions, this.context);
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.gemfire.mapping.Regions

Copyright © 2018 www.massapicom. 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.