|
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.ChangeHandler<V>
Applies the changes on the underlying data source.
There is only a single ChangeHandler for each LazyTemporalAttribute.
In a performance point of view, it's usually a good idea here to buffer the
requests, in order to reduce the underlying calls granularity.
| Method Summary | |
|---|---|
void |
clear(LazyTemporalAttributeStorage<V> source)
Invoked when TimeSeries.remove(Instant) has been called. |
void |
put(LazyTemporalAttributeStorage<V> source,
Period p,
java.lang.Object value)
Invoked when LazyTemporalAttributeStorage#put(Instant,Object) has been called. |
void |
remove(LazyTemporalAttributeStorage<V> source,
Period p)
Invoked when LazyTemporalAttributeStorage#remove(Instant) has been called. |
| Method Detail |
|---|
void put(LazyTemporalAttributeStorage<V> source,
Period p,
java.lang.Object value)
source - the LazyTemporalAttributeStorage where the put
method has been invokedi - the Instantvalue - the new value
java.lang.UnsupportedOperationException - if the LazyTemporalAttributeStorage is read-onlyLazyTemporalAttributeStorage#put(Instant,Object)
void remove(LazyTemporalAttributeStorage<V> source,
Period p)
source - the LazyTemporalAttributeStorage where the remove method has been invokedi - the Instant specifying the entry to be removed
java.lang.UnsupportedOperationException - if the LazyTemporalAttributeStorage is read-onlyLazyTemporalAttributeStorage#remove(Instant)void clear(LazyTemporalAttributeStorage<V> source)
source - the LazyTemporalAttributeStorage where the clear method has been invokedi - the Instant specifying the entry to be removed
java.lang.UnsupportedOperationException - if the LazyTemporalAttributeStorage is read-onlyLazyTemporalAttributeStorage.clear()
|
JTemporal Home Tutorial |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||