Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Infinispan data grid platform definitive guide

You're reading from  Infinispan data grid platform definitive guide

Product type Book
Published in May 2015
Publisher
ISBN-13 9781782169970
Pages 464 pages
Edition 1st Edition
Languages

Table of Contents (20) Chapters

Infinispan Data Grid Platform Definitive Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started 2. Barriers to Scaling Data 3. Using the APIs 4. Infinispan Topologies 5. Data Access Patterns 6. Case Study – The TicketMonster Application 7. Understanding Transactions and Concurrency 8. Managing and Monitoring Infinispan 9. Server Modules 10. Getting Started with Hibernate OGM 11. An Introduction to JGroups 12. Advanced Topics Index

Infinispan and JSR 107 – Java Temporary Caching API


The Java specification request 107 (JSR 107: JCACHE - Java Temporary Caching API) has been created to define a temporary caching API for the Java platform and presents a Map-like API. As in a regular java.util.Map, data is stored as values by keys.

Note

Java Specification Request (JSR) is a formal document that describes a proposal for a new feature or change in the Java Platform.

This process is defined by the Java Community Process (JCP), which is responsible for approving and developing the standard technical specifications for the Java technology.

Any organization or individual can sign up to become a JCP member and then participate on the expert group of a JSR or even submit their own JSR proposals.

With JCACHE, you can store and retrieve your objects, control how values expire from the cache, inspect the contents of the cache, and get statistics about the cache. JCACHE also provides support for optional runtime cache annotations, support for transactions, and listeners to add custom behavior when setting and deleting values.

The primary programming artifact is the javax.cache.Cache interface, with some modifications for distributed environments.

Infinispan exposes a JSR-107 compatible cache interface in which you can store data, and enhances it by providing additional APIs and features.

You have been reading a chapter from
Infinispan data grid platform definitive guide
Published in: May 2015 Publisher: ISBN-13: 9781782169970
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}