|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
Level1Cache | Provides an interface for Level 1 caches. |
Level2Cache | Interface for any Level 2 Cache used by JPOX. |
Class Summary | |
CachedPC | An object that is stored in the Level2 Cache. |
DefaultLevel2Cache | Default implementation of a Level 2 cache for JPOX. |
HardRefCache | Implementation of a Level 1 cache keeping hard (strong) references to the objects. |
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 for JPOX. |
SoftRefCache | Level 1 Cache using Soft referenced objects in a Map. |
WeakRefCache | Level 1 Cache using Weak referenced objects in a Map. |
This package provides classes implementing caching within JPOX. There are 2 caches in JPOX.
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 is the TangosolCache plugin that can be used in conjunction with the commercial Tangosol Coherence product.
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |