[jboss-user] [JBoss Cache] - JBossCache200Migration

James Livingston do-not-reply at jboss.com
Sun Apr 18 20:28:03 EDT 2010


James Livingston [http://community.jboss.org/people/jameslivingston] modified the document:

"JBossCache200Migration"

To view the document, visit: http://community.jboss.org/docs/DOC-10246

--------------------------------------------------------------
This page is for users of JBoss Cache 1.x.x who wish to move to JBoss Cache 2.x.x, and talks about how things have changed, and how existing code can be migrated to the new APIs.

It is assumed that you have already read the JBoss Cache  http://community.jboss.org/docs/DOC-12843 User Guide and FAQs.

*Q:* Where is ?

*A:* , the central class in JBoss Cache 1.x.x, has been removed in favour of API access via a  interface.  This gives the implementation more flexibility, and adds further safety by restricting the API methods exposed.

*Q:* Can s be directly manipulated now, and will aspects such as locking, replication and cache loading still be applied?

*A:* Yes.  JBoss Cache 1.x.x exposed  objects but did not apply any of the JBoss Cache aspects when directy manipulating a .  In 2.0.0 we have promoted  to a top-level construct and it is in fact encouraged to use s directly rather than operations on .

*Q:* How do I create a  then?

*A:* Use a .  JBoss Cache 2.0.0 ships with a  implementation.  See the  http://labs.jboss.com/jbosscache/docs/index.html User Guide for examples.

--------------------------------------------------------------

Comment by going to Community
[http://community.jboss.org/docs/DOC-10246]

Create a new document in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2052]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100418/65f0f336/attachment.html 


More information about the jboss-user mailing list