|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.cmu.aura.gather.Target
|
+--edu.cmu.aura.service.PostQueryWorker
Used in conjunction with SimpleService to provide a simple means of executing posted queries.
Simply calls computeQueryResult() periodically to get the result and send it to the client. The gather package is used by SimpleService to perform the periodic execution.
Triggers are not currently supported via this mechanism.
| Constructor Summary | |
PostQueryWorker(SimpleService simpleService,
SimpleEqualityPostedQuery postedQuery)
Construct a PostQueryWorker. |
|
| Method Summary | |
void |
update()
Called by the Gatherer when it's time to execute this query. |
| Methods inherited from class edu.cmu.aura.gather.Target |
getInterval, getNextDeadline, getTimeUntilDeadline |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PostQueryWorker(SimpleService simpleService,
SimpleEqualityPostedQuery postedQuery)
simpleService - service on which the query is to executepostedQuery - the PostedQuery that is to be executed| Method Detail |
public void update()
update in class edu.cmu.aura.gather.Target
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||