|
JTemporal Home Tutorial |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface CachedTimeSeries.MissingElementHandler<V>
Reacts on missing elements.
Populates the CachedTimeSeries when data is requested.
There is only a single MissingElementHandler for each CachedTimeSeries.
Method Summary | |
---|---|
void |
populateElement(CachedTimeSeries<V> ts,
Instant i)
This method is called when get(Instant) is called on the timeseries and no value is found in the cache. |
Method Detail |
---|
void populateElement(CachedTimeSeries<V> ts, Instant i)
null
value.
This will cache the information that there is no entry for this instant.
ts
- the CachedTimeSeries instance originating the calli
- the key whose no value is associatedTimeSeries.get(Instant)
,
CachedTimeSeries.putInCache(Instant, Object)
|
JTemporal Home Tutorial |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |