|
JTemporal Home Tutorial |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- the value held in the related LazyTemporalAttributeStoragepublic static interface LazyTemporalAttributeStorage.MissingRangeHandler<V>
Loads the data from the real physical storage into the the LazyTemporalAttributeStorage cache, when additional data is requested.
Method Summary | |
---|---|
Period |
getAlwaysPeriod()
JTemporal does not know what your implementation of Instant is. |
void |
populateEntryEndingAt(LazyTemporalAttributeStorage<V> target,
Instant instant)
When the LazyTemporalAttributeStorage calls you back using this method you have to: 1- load the entry when end instant is equal to instant, if any exists. |
void |
populateRange(LazyTemporalAttributeStorage<V> target,
Period range)
When the LazyTemporalAttributeStorage calls you back using this method you have to: 1- Populate at least this storage with at least all the entries existing intersecting the given period (=range), by calling the method LazyTemporalAttributeStorage.putInCache(Period, Object) It does not matter if you reload already loaded records, provided that they are identical. |
Method Detail |
---|
void populateRange(LazyTemporalAttributeStorage<V> target, Period range)
target
- the LazyTemporalAttributeStorage requesting to pe populated.period
- the range that must be populated. If there are holes, the
LazyTemporalAttributeStorage assumes there are no mapping in the underlying
storage as well: the holes are part of the information that is cached.void populateEntryEndingAt(LazyTemporalAttributeStorage<V> target, Instant instant)
target
- the LazyTemporalAttributeStorage requesting to pe populated.instant
- the instant that must match to the end instant of the loaded entryPeriod getAlwaysPeriod()
|
JTemporal Home Tutorial |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |