What is the difference between Region.destroy(key) and Region.remove(key)?
From the Doc, the two functions look similar. What is the difference? Thanks.
View ArticleWhat is the CONNECTION_POOL_SIZE setting for?
How is it different from min-connections setting at the <pool> level? thanks.
View ArticleClear memory in distributed Region
I want to clear the memory of the region, shared between distributed systems at the end of my computation. I am not able to do it by the methods provided by the Region, clear(), destroy(). These...
View ArticleConcurrent function execution on partitioned region
I have multiple concurrent execution calls on a partioned region to the same entry. I was told the the requests would be serialized. Fromthe errror I saw in the log, it doesn't seem to be. Is my...
View ArticleGemfire modules sessions - dummy session
We are using Gem Fire for storing HTTP Sessions in the region gemfire_modules_sessions. Strange behaviour we observed is, it created an empty session entry in this region when first hit the web app...
View Articlecache loader only load for certain key
I have a cache loader installed on a partitioned region. I notice that the cache loader only invoke only on certain key. Region<Integer, Device> localData =...
View ArticleObjectSizer return value
The ObjectSizer#sizeOf method, is this supposed to return the size of the object in bytes ? the unit of the size is not clear to me as it is not mentioned in the javadoc:...
View ArticleGemfire function timeout
I need to run a function at the server side to clean up some old data. The function execution would take 5-10 min, and I set the Server's maximum-time-between-pings to 10 min and the Client's...
View ArticleObjectSizer called twice for each region entry
I have noticed that the ObjectSizer gets called twice for each entry you put into a region. I assume that one call is made to get the size of the key, and the second for the value. If i change my key...
View ArticleMaster Slave Feature in Gemfire
Hi, Does Gemfire has a Master Slave Feature? By this I mean one Server is a Master which distributes the task to the Slaves on other Servers. Slave Servers perform some operations over the server(usig...
View ArticleIndex already exists exception
Hi, We define some indices in the xml file, like the following <gfe:index id="eticket_id_number_index" cache-ref="cache" expression="i.value.id_number" from="/Eticket.entrySet i" type="FUNCTIONAL"...
View ArticleafterCreate event is fired even in case of update -How Events works in Gemfire?
Client Cache Configuration - <region name="test" refid="PROXY"> <region-attributes> <cache-listener>...
View ArticleDifference in write time in a region
I have a distributed region(configured through xml). I am inserting 100,000 records into it. Now there are three scenarios under which i am inserting records.1. All the data on one server and on one...
View ArticleRegion with gateway enabled but no hub-id specified
Using 6.0.5.2 we have 3 gateway processes to send various regions over WAN to other location. In our setup that has been working for about a year we enable gateway on the regions in cache server that...
View ArticleWhat are all built-in expiry classes available?
Hi, I understand there is a configuration for custom expiry. <custom-expiry> <class-name>custom.expiry</class-name></custom-expiry> For our internal...
View ArticleIntrospecting gemfire_modules_sessions region
i am trying to run this query in data browser select sessionContext from /gemfire_modules_sessions I get this exception ---------------------------DataBrowser...
View ArticleHow to make server to avoid redundant loading from database
1) Our gemfire installation is Gemfire 6.5 and based on the Server/Client mode. And we have two ‘REPLICATE’ cluster servers. Once the servers bounce, they will create regions and load the data...
View ArticlePassing properties to cache.xml
Hi I'm configuring overflow disk stores for our Gemfire 6.5.1 cluster. We have around 15 data storage VM's per machine, spread over 2 machines. Looking through the documentation I can see I need to...
View ArticleContinues Query doesn't publish inconsistent event type to CQ client
Continues Query doesn't publish the corrent event type to CQ client. Example: 1. register the CQ and get initial result2. initial result returns 5 objects3. Update the cached object and make all 5...
View Article