Hi,
I am new to using ECache.
I am using Eclipse Kipler and Tomcat 7.0.54.
I am trying to create a searchable with dynamic index cache but I get the follow error when I define: Searchable searchable = new Searchable().allowDynamicIndexing(true);
The error from Eclipse is: "Type mismatch: cannot convert from void to Searchable"
Here is my code snippet:
Configuration cacheManagerConfig = new Configuration();
CacheConfiguration cacheConfig = new CacheConfiguration("PersonCache", 0).eternal(true);
Searchable searchable = new Searchable().allowDynamicIndexing(true);
Any help is greatly appreciative.
Many Thanks!
|