Questions tagged [spring-data-gemfire]

Spring Data GemFire focuses on integrating Spring Framework's powerful, non-invasive programming model and concepts with Pivotal GemFire, simplifying configuration, development and providing high-level abstractions.

Pivotal GemFire is a real-time, in-memory distributed data management platform providing data-intensive applications built for a cloud architecture with enterprise-class features, such as redundancy and high-availability with linear scale-out.

To learn more about Pivotal GemFire, see here.

Spring Data GemFire focuses on integrating Spring Framework's powerful, non-invasive programming model and concepts with Pivotal GemFire to simplify the configuration and development of GemFire-based applications as well as to provide high-level abstractions for many of GemFire's core components.

To get up-to-date information on Spring Data GemFire, visit the project page, on spring.io or see the project's status in JIRA. You can also checkout the source on GitHub and even fork the project in order to submit Pull Requests (PR) if you have have an idea for a new feature or how to make it better. We encourage the community to get involved.

Finally, there is no better place to stay informed or to be involved than by following us in the Spring IO Blog. Every week, Josh Long publishes an fantastic article on "This Week in Spring" loaded with all things related to Spring.

296 questions
0
votes
2 answers

gemfire cacheclosedexception the cache has not yet been created

I am trying to write unit test for a method which uses an instance of cache as below public void method(String abc) { .... .... Cache cache = CacheFactory.getAnyInstance(); .... .... } I know mocking is the way to resolve this dependency on cache.…
Anantha
  • 99
  • 4
  • 13
0
votes
4 answers

Multiple gemfire cache-server on same host machine

Hi i want to start more than one gemfire cache-server on same host using Spring gemfire 8.1.Please find below gemfire configuration file. I want to start GFServer1 and GFServer2 on same host i.e.HOSTNAME using Spring Gemfire configuration. I want to…
nilesh1212
  • 1,561
  • 2
  • 26
  • 60
0
votes
1 answer

Loading and updating Gemfire cache from Oracle table

I am new to Pivotal Gemfire and configuring Gemfire to store Oracle table data for low-latency and high throughput application. Via there are ways by which we can load the data in to Gemfire cache. Does anyone know how can I update the data if any…
Nikhil Joshi
  • 817
  • 2
  • 12
  • 34
0
votes
1 answer

Fetch all regions from Gemfire with Spring-data-gemfire

I am developing a very simple dashboard to clear Gemfire regions for testing purposes. I am mainly doing this to get testers a tool for doing this by themselves. I would like to dynamically fetch the current available Regions names to clear. I am…
Cristiano Fontes
  • 4,920
  • 6
  • 43
  • 76
0
votes
1 answer

Spring-Data-Gemfire Unexpected "The cache is closed."

Using gemfire 8.1 and spring-gemfire-data, version 1.5.2.RELEASE. I get some isolated errors of "com.gemstone.gemfire.cache.CacheClosedException: The cache is closed." Which can be the cause? As I am not manually doing anything...and let spring…
Roxana
  • 1,569
  • 3
  • 24
  • 41
0
votes
1 answer

How to configure Gemfire Locators and Server persistent path from eclipse + Spring data

I am beginner to gemfire, I have installed gemfire 8 on windows able to start Locators and servers and able perform some basic operations. However there are few things below, need of your suggestions for the same. 1) When we start Locator, Server…
Neal1212
  • 1
  • 1
0
votes
1 answer

Gemfire Junit for multi module project tests are taking too long

I have a project which is composed of several modules each module holds it's region and repository classes. The problem with that is that each module has it's own Gemfire gfe:cache on it's own spring context. So my problem is that when I run my mvn…
Cristiano Fontes
  • 4,920
  • 6
  • 43
  • 76
0
votes
3 answers

Gemfire PDX error on startup : The PDX metadata has already been created as a peer metadata region. Please create your pools first

I am very new to gemfire and I am having trouble starting my application with it. The error I get is [info 2015/05/22 10:55:39.746 BRT tid=0xf] Marking DistributionManager :17758 as closed. 10:55:40.922…
Cristiano Fontes
  • 4,920
  • 6
  • 43
  • 76
0
votes
1 answer

How can you determine whether a Spring Data Gemfire query is using a Gemfire index?

I am trying to determine whether all of my Spring Data Gemfire queries are using the indexes defined on the Gemfire server. With OQL, I know I can add "" and in the gemfire logs it will show whether an index is being used: @Query("
GeekChick
  • 118
  • 1
  • 2
  • 10
0
votes
1 answer

How to route custom Java Listener onEvent using Camel

I haven't been able to find any examples that help me understand what I need to do here, so I'll explain my problem: I have a Java Bean that implements a custom listener for Pivotal's Gemfire product. It implements an interface known as CqListener,…
0
votes
1 answer

How do Applications are being notified by Gemfire

In a web application that uses Gemfire to store their Session (Spring Session - an implementation of HTTPSession), how does Gemfire notify the changes (like cache expiry, cache change, cache destry..events) ? especially when Gemfire is deployed in a…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
1 answer

Difference between using Listeners and MBean to send Notifications?

I've been reading about how the GemFire distributed data store/management/cache system performs notifications. While this reading, i had this question. Gemfire seems to be using MBeans to create notifications during events. How different/suitable is…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
2 answers

Backup Spring Session with GemFire

Spring documentation says that Spring Session can transparently leverage Redis to back a web application’s HttpSession when using REST endpoints. Does anyone know if Spring supports GemFire in this place instead of Redis to back a web application's…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
1 answer

Can GemFire OQL query be done on all the child-regions of a parent-region, in a single query

I need to make a hierarchy of regions like following, as usually I query by country and type. I put all data in country level regions. Sometimes I query across countries in NAM_Type1 and sometimes Global. Global_Type1 -> NAM_Type1 --> USA --> …
Ashish Awasthi
  • 1,302
  • 11
  • 23
0
votes
1 answer

Gemfire client/server architecture and region lock

I am using client-server Gemfire architecture, several servers share a replicated region with "global" scope. I have a client, where a client region is defined as follows:
Dmitry Trofimov
  • 503
  • 4
  • 10