|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ofbiz.base.util.cache.CacheLine<V>
org.ofbiz.base.util.cache.SoftRefCacheLine<V>
public final class SoftRefCacheLine<V>
| Field Summary | |
|---|---|
CacheSoftReference<V> |
ref
|
| Fields inherited from class org.ofbiz.base.util.cache.CacheLine |
|---|
expireTime, loadTime |
| Constructor Summary | |
|---|---|
SoftRefCacheLine(V value,
long expireTime)
|
|
SoftRefCacheLine(V value,
long loadTime,
long expireTime)
|
|
| Method Summary | |
|---|---|
V |
getValue()
|
boolean |
isInvalid()
|
| Methods inherited from class org.ofbiz.base.util.cache.CacheLine |
|---|
getExpireTime, getSizeInBytes, hasExpired |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final CacheSoftReference<V> ref
| Constructor Detail |
|---|
public SoftRefCacheLine(V value,
long expireTime)
public SoftRefCacheLine(V value,
long loadTime,
long expireTime)
| Method Detail |
|---|
public V getValue()
getValue in class CacheLine<V>public boolean isInvalid()
isInvalid in class CacheLine<V>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||