@Path(value="/communication") public class EliseCommunicationService extends Object implements at.ac.tuwien.dsg.cloud.elise.master.RESTImp.EliseCommunicationInterface
Constructor and Description |
---|
EliseCommunicationService() |
Modifier and Type | Method and Description |
---|---|
String |
count()
Get the information of available conductors and collectors which are running and registered.
|
String |
getQueryProcessStatus(String queryUUID)
Query the status of a query.
|
String |
health() |
static String |
padLeft(String s,
int n) |
String |
querySetOfInstance(at.ac.tuwien.dsg.cloud.salsa.messaging.model.Elise.EliseQuery query,
boolean isUpdated,
boolean isNotified)
Send a query to all the conductors, which then will trigger collector module, collect the information, and update to the central service.
|
String |
querySetOfInstances(at.ac.tuwien.dsg.cloud.salsa.messaging.model.Elise.EliseQuery query) |
public String count()
count
in interface at.ac.tuwien.dsg.cloud.elise.master.RESTImp.EliseCommunicationInterface
public String querySetOfInstance(at.ac.tuwien.dsg.cloud.salsa.messaging.model.Elise.EliseQuery query, @DefaultValue(value="false") @QueryParam(value="isUpdated") boolean isUpdated, @DefaultValue(value="false") @QueryParam(value="notify") boolean isNotified)
querySetOfInstance
in interface at.ac.tuwien.dsg.cloud.elise.master.RESTImp.EliseCommunicationInterface
query
- A query to specify which information to be collectedisUpdated
- The information will be update continously or this is an one-time queryisNotified
- The change will be notify to the topicpublic String querySetOfInstances(at.ac.tuwien.dsg.cloud.salsa.messaging.model.Elise.EliseQuery query)
querySetOfInstances
in interface at.ac.tuwien.dsg.cloud.elise.master.RESTImp.EliseCommunicationInterface
public String health()
public String getQueryProcessStatus(String queryUUID)
getQueryProcessStatus
in interface at.ac.tuwien.dsg.cloud.elise.master.RESTImp.EliseCommunicationInterface
queryUUID
- The UUID of the queryCopyright © 2016. All Rights Reserved.