|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibatis.sqlmap.engine.cache.memory.MemoryCacheLevel
Field Summary | |
private static java.util.Map |
cacheLevelMap
|
private java.lang.String |
referenceType
|
static MemoryCacheLevel |
SOFT
Constant for soft caching. |
static MemoryCacheLevel |
STRONG
Constant for strong caching. |
static MemoryCacheLevel |
WEAK
Constant for weak caching This cache model is probably the best choice in most cases. |
Constructor Summary | |
private |
MemoryCacheLevel(java.lang.String type)
Creates a new instance of CacheLevel |
Method Summary | |
static MemoryCacheLevel |
getByReferenceType(java.lang.String refType)
Gets a MemoryCacheLevel by name |
java.lang.String |
getReferenceType()
Getter for the reference type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static java.util.Map cacheLevelMap
public static final MemoryCacheLevel WEAK
public static final MemoryCacheLevel SOFT
public static final MemoryCacheLevel STRONG
private java.lang.String referenceType
Constructor Detail |
private MemoryCacheLevel(java.lang.String type)
Method Detail |
public java.lang.String getReferenceType()
public static MemoryCacheLevel getByReferenceType(java.lang.String refType)
refType
- the name of the reference type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |