Package org.ojalgo.type
Class TypeCache<T>
java.lang.Object
org.ojalgo.type.TypeCache<T>
Deprecated.
A supplier that most of the time returns a cached value, and only recomputes it when necessary
(periodically).
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Deprecated.TypeCache
(long aPurgeIntervalMeassure, CalendarDateUnit aPurgeIntervalUnit) Deprecated. -
Method Summary
-
Field Details
-
TIMER
Deprecated. -
myCachedObject
Deprecated. -
myDirty
private volatile boolean myDirtyDeprecated.
-
-
Constructor Details
-
TypeCache
Deprecated. -
TypeCache
private TypeCache()Deprecated.
-
-
Method Details
-
flushCache
public final void flushCache()Deprecated. -
getCachedObject
Deprecated. -
isCacheSet
public final boolean isCacheSet()Deprecated. -
isDirty
public final boolean isDirty()Deprecated. -
makeDirty
public final void makeDirty()Deprecated. -
recreateCache
Deprecated.
-
ForgetfulMap.newValueCache(Object, java.util.function.Function)
instead.