diff --git a/src/main/java/org/springframework/data/gemfire/config/EvictionAttributesFactoryBean.java b/src/main/java/org/springframework/data/gemfire/config/EvictionAttributesFactoryBean.java index d22bb594..ebdb1801 100644 --- a/src/main/java/org/springframework/data/gemfire/config/EvictionAttributesFactoryBean.java +++ b/src/main/java/org/springframework/data/gemfire/config/EvictionAttributesFactoryBean.java @@ -62,7 +62,7 @@ class EvictionAttributesFactoryBean implements FactoryBean, if (threshold != null) { return EvictionAttributes.createLRUEntryAttributes(threshold, action); } - return EvictionAttributes.createLRUMemoryAttributes(threshold); + return EvictionAttributes.createLRUEntryAttributes(); } } @@ -81,14 +81,14 @@ class EvictionAttributesFactoryBean implements FactoryBean, /** * @return the threshold */ - public int getThreshold() { + public Integer getThreshold() { return threshold; } /** * @param threshold the threshold to set */ - public void setThreshold(int threshold) { + public void setThreshold(Integer threshold) { this.threshold = threshold; } diff --git a/src/test/resources/org/springframework/data/gemfire/config/diskstore-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/diskstore-ns.xml index 18686c17..67974973 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/diskstore-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/diskstore-ns.xml @@ -11,16 +11,20 @@ - + + + + + + + + + - - - + \ No newline at end of file