public interface ParameterCache
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all the parameters from the cache
|
List<ParameterValue> |
getAllValues(Parameter p)
Returns all values from the cache for the parameter or null if there is no value cached
The parameter are returned in descending order (newest parameter is returned first)
|
List<ParameterValue> |
getAllValues(Parameter p,
long start,
long stop)
Same as above but return all values that have the generation time in the (start, stop] interval
|
ParameterValue |
getLastValue(Parameter p)
Returns last cached value for parameter or null if there is no value in the cache
|
List<ParameterValue> |
getValues(List<Parameter> plist)
Returns cached value for parameter or an empty list if there is no value in the cache
|
void |
update(Collection<ParameterValue> pvs)
update the parameters in the cache
|
void update(Collection<ParameterValue> pvs)
pvs - - parameter value listList<ParameterValue> getValues(List<Parameter> plist)
plist - ParameterValue getLastValue(Parameter p)
p - - parameter for which the last value is returnedList<ParameterValue> getAllValues(Parameter p)
p - - parameter for which all values are returnedList<ParameterValue> getAllValues(Parameter p, long start, long stop)
p - start - stop - void clear()
Copyright © 2018 Space Applications Services. All rights reserved.