We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58955d5 commit f463567Copy full SHA for f463567
1 file changed
src/main/java/org/code13k/heets/business/ClusteredCache.java
@@ -20,7 +20,7 @@ public class ClusteredCache {
20
private static final Logger mLogger = LoggerFactory.getLogger(ClusteredCache.class);
21
22
// Const
23
- private static final String NAME = "Code13k-Heets-Cache-Data";
+ private static final String NAME = "Code13k-Heets-Clustered-Cache-Data";
24
25
// Data
26
private IMap<String, CacheData> mData = null;
@@ -155,4 +155,11 @@ public void onFailure(Throwable t) {
155
}
156
157
158
+
159
+ /**
160
+ * Get cached data count
161
+ */
162
+ public int size(){
163
+ return mData.size();
164
+ }
165
0 commit comments