[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Hierarchical key/value in Ehcache and no Cache server  XML
Forum Index -> Ehcache
Author Message
leonllyu

neo

Joined: 07/07/2010 07:53:16
Messages: 1
Offline

Hi,

I am new to Ehcache and would like to use Ehcache and have several simple questions. Can I use hierarchical key/value where value is also an associate array with list of key value pairs? Can I use CacheManager only without Cache server to store key/value data? Thanks in advance.
zeeiyer

consul

Joined: 05/24/2006 14:28:28
Messages: 493
Offline

What you put into the cache are Elements - see http://ehcache.org/apidocs/net/sf/ehcache/Element.html

The Element constructor takes a java.lang.Object as key, and a java.lang.Object as value - so of course you can put in a Map or something like that as the value.

Yes, you can deploy Ehcache unclustered or distributed with a Terracotta server, if I understood your latter question correctly. See http://www.terracotta.org/ehcache/



Sreeni Iyer, Terracotta.
Not a member yet - Click here to join the Terracotta Community
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Issue seems to be resolved.Please let us know if more information is required.

Rakesh Joshi
Senior Consultant
Terracotta.
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team