|
JTemporal Home Tutorial |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface CachedTimeSeries.ChangeHandler<V>
Applies the changes on the underlying data source.
There is only a single ChangeHandler for each CachedTimeSeries.
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 |
put(CachedTimeSeries<V> source,
Instant i,
V value)
Invoked when TimeSeries.put(Instant, Object) has been called. |
void |
remove(CachedTimeSeries<V> source,
Instant i)
Invoked when TimeSeries.remove(Instant) has been called. |
void |
remove(CachedTimeSeries<V> source,
Period p)
Invoked when TimeSeries.remove(Instant) has been called. |
| Method Detail |
|---|
void put(CachedTimeSeries<V> source,
Instant i,
V value)
source - the TimeSeries where the put method has been invokedi - the Instantvalue - the new value
java.lang.UnsupportedOperationException - if the TimeSeries is read-onlyTimeSeries.put(Instant,Object)
void remove(CachedTimeSeries<V> source,
Instant i)
source - the TimeSeries where the remove method has been invokedi - the Instant specifying the entry to be removed
java.lang.UnsupportedOperationException - if the TimeSeries is read-onlyTimeSeries.remove(Instant)
void remove(CachedTimeSeries<V> source,
Period p)
source - the TimeSeries where the remove method has been invokedp - the Period specifying the range to be removed
java.lang.UnsupportedOperationException - if the TimeSeries is read-onlyTimeSeries.remove(Period)
|
JTemporal Home Tutorial |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||