Hi!
I'm using Infinispan 6.0.1. and I want that I get values from the cache in the same order as I put them in.
For example:
Cache<String, String> myCache = defaultCacheManager.getCache("myCache");
myCache.put("1", "ONE");
myCache.put("2", "TWO");
myCache.put("3", "THREE");
Map<String,Object> cacheObject = new LinkedHashMap(myCache);
order of keys in cache is not same as inserted.
Please reply as soon as possible it is getting die need for me.
Pranjal