caching - How to place java objects into coherence and read from coherence cache -
i looking coherence cache, need place map object cache.
can 1 let me know how keep java objects coherence cache?
thanks, naresh.
its simple hasmap put operation.
import com.tangosol.net.cachefactory; import com.tangosol.net.namedcache; namedcache cache = cachefactory.getcache("virtualcache"); string key = "key"; hashmap value = new hashmap<string,string>(); value.put("key1","val1"); cache.put(key, value); hashmap value = (hashmap) cache.get(key);
Comments
Post a Comment