Ehcache 2.10.8 | Product Documentation | Ehcache Developer Guide | Transaction Support | Requirements for Transactional Caches
 
Requirements for Transactional Caches
The objects you store in your transactional cache must:
*Implement java.io.Serializable—This is required to store cached objects when the cache is distributed in a Terracotta cluster, and it is also required by the copy-on-read / copy-on-write mechanism used to implement isolation.
*Override equals and hashcode — These must be overridden because the transactional stores rely on element value comparison. See: ElementValueComparator and the elementValueComparator configuration setting.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release