Skip navigation links

Package org.datanucleus.cache

This package provides classes implementing caching within DataNucleus.

See: Description

Package org.datanucleus.cache Description

This package provides classes implementing caching within DataNucleus. There are 2 caches used internally :-

The first is within the PersistenceManager and is the Level 1 Cache. There are 3 available implementations of a Level 1 Cache here :- SoftRefCache, WeakRefCache and HardRefCache. They provide varying degrees of object retention during the garbage collection process.

The second is across multiple PersistenceManagers within the same PersistenceManagerFactory, and is the Level 2 Cache. There is one implementation of a Level 2 Cache here :- DefaultLevel2Cache. Alternatively, there are plugins for EHCache, SwarmCache, OSCache and Coherence products

Skip navigation links

Copyright © 2015. All rights reserved.