public class QueryImpl extends Object implements Query, PVCacheListener
Modifier and Type | Method and Description |
---|---|
void |
close()
Query can be disposed.
|
PVCache |
getCache() |
QueryResult |
getResult()
This method returns all data available for the specified
TimeInterval . |
QueryResult |
getUpdate()
This method can be polled at regular interval and should return right
away with the data is already available, even if incomplete.
|
boolean |
isComplete() |
void |
newData(SortedSet<Data> datas)
Informs that a new set of
Data is available in storage. |
void |
update(QueryParameters queryParameters)
Changes the parameters for the query.
|
public QueryImpl(PVCache cache)
public void newData(SortedSet<Data> datas)
Data
is available in storage.newData
in interface PVCacheListener
public void update(QueryParameters queryParameters)
public QueryResult getResult()
TimeInterval
.public QueryResult getUpdate()
public void close()
public PVCache getCache()
public boolean isComplete()
Copyright © 2010–2015. All rights reserved.