spring-data-gemfire

Start-Locator / Locators, which is for client and which is for server?

醉酒当歌 提交于 2019-12-06 07:32:49
I have been configuring Pivotal GemFire like this example: @Configuration public class GemfireConfiguration { @Bean Properties gemfireProperties() { Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name","SpringDataGemFireApplication"); gemfireProperties.setProperty("mcast-port", "0"); gemfireProperties.setProperty("log-level", "config"); return gemfireProperties; } @Bean CacheFactoryBean gemfireCache() { CacheFactoryBean gemfireCache = new CacheFactoryBean(); gemfireCache.setClose(true); gemfireCache.setProperties(gemfireProperties()); return gemfireCache; }

Programmatic Control over entry-time-to-live in Gemfire Region with ClientRegionShortcut.PROXY

自闭症网瘾萝莉.ら 提交于 2019-12-02 09:41:55
Is it possible to have a ClientCache with ClientRegionShortcut.PROXY along with programmatic control over entry TTL settings (i.e. entries present in the server)? I see the entry expiration ttl settings working fine with ClientRegionShortcut.CACHING_PROXY_HEAP_LRU . In this case I can see the entries getting invalidated in server after the configured timeout in seconds, but that is not the case for ClientRegionShortcut.PROXY settings Is it NOT possible to dynamically control the entry-ttl settings for a ClientCache ? Below code/config works with ClientRegionShortcut.CACHING_PROXY_HEAP_LRU and

Spring Boot error: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

岁酱吖の 提交于 2019-12-02 02:40:43
问题 I am trying to put the data into GemFire by using Spring Data GemFire. I followed this link @Region("stockdata") public class StockInfo { @Id public String symbol; public String price; @PersistenceConstructor public StockInfo(String symbol, String price) { super(); this.symbol = symbol; this.price = price; } @Override public String toString() { return "StockInfo [symbol=" + symbol + ", price=" + price + "]"; } public String getSymbol() { return symbol; } public void setSymbol(String symbol) {

Spring Boot error: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

时光毁灭记忆、已成空白 提交于 2019-12-02 02:39:32
I am trying to put the data into GemFire by using Spring Data GemFire. I followed this link @Region("stockdata") public class StockInfo { @Id public String symbol; public String price; @PersistenceConstructor public StockInfo(String symbol, String price) { super(); this.symbol = symbol; this.price = price; } @Override public String toString() { return "StockInfo [symbol=" + symbol + ", price=" + price + "]"; } public String getSymbol() { return symbol; } public void setSymbol(String symbol) { this.symbol = symbol; } public String getPrice() { return price; } public void setPrice(String price)