See: Description
| Interface | Description |
|---|---|
| Level1Cache |
Provides an interface for Level 1 caches.
|
| Level2Cache |
Interface for any Level 2 Cache used internally.
|
| Class | Description |
|---|---|
| AbstractLevel2Cache |
Abstract starting point for a third-party L2 cache plugin.
|
| CachedPC<T> |
An object that is stored in the Level2 Cache keyed by the identity of the persistable object.
|
| CachedPC.CachedId | |
| JavaxCacheLevel2Cache |
Simple implementation of a plugin for use of javax.cache (v0.61+) product with DataNucleus.
|
| JavaxCacheQueryResultCache |
Implementation of a query results cache using javax.cache (v0.3+) interface.
|
| L2CachePopulateFieldManager |
FieldManager responsible for populating the provided CachedPC object.
|
| L2CacheRetrieveFieldManager |
FieldManager responsible for retrieving the values from the provided CachedPC object.
|
| Level2Cache.PinnedClass |
Representation of a class whose objects will be pinned when put into the L2 cache.
|
| NullLevel2Cache |
Null implementation of a Level 2 Cache.
|
| SoftLevel2Cache |
Soft implementation of a Level 2 cache.
|
| SoftRefCache |
Level 1 Cache using Soft referenced objects in a Map.
|
| StrongRefCache |
Implementation of a Level 1 cache keeping strong references to the objects.
|
| WeakLevel2Cache |
Weak referenced implementation of a Level 2 cache.
|
| WeakRefCache |
Level 1 Cache using Weak referenced objects in a Map.
|
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
Copyright © 2015. All rights reserved.