|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.messaging.common.consumerlibrary.query.Query<ConsumerCL>
org.gcube.messaging.common.consumerlibrary.query.MonitoringQuery
public class MonitoringQuery
Field Summary |
---|
Fields inherited from class org.gcube.messaging.common.consumerlibrary.query.Query |
---|
call, dateFormat, groupClause, limitClause, orderClause, query, results |
Constructor Summary | |
---|---|
MonitoringQuery()
|
Method Summary | |
---|---|
String |
getAllTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type)
getAllTodayGHNAverage |
String |
getGHNAverage(org.gcube.messaging.common.messages.Test.TestType type,
String ghn)
getGHNAverage |
Map<String,ArrayList<String>> |
getGHNs()
return the GHNs |
String |
getNotifications()
get all the notification |
HashMap<String,String> |
getProbes()
Get the available probes |
String |
getRIMessages(String serviceClass,
String serviceName)
getRIMessages |
String |
getStatistics(String testType,
String GHNName,
String startDate,
String endDate,
String groupBy)
|
String |
getTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type,
String ghn)
getTodayGHNAverage |
String |
getTodayNotifications()
getTodayNotifications |
String |
getTodayRIMessages(String serviceClass,
String serviceName)
getTodayRIMessages |
String |
performQuery()
The method implemented by subclasses, that performed the query |
Methods inherited from class org.gcube.messaging.common.consumerlibrary.query.Query |
---|
getCall, getDimensions, getGroupClause, getLimitClause, getOrderClause, getQuery, getResults, getResultsAsArray, printQueryResults, query, setCall, setGroupClause, setLimitClause, setLimitClause, setOrderClause, setQuery, setResults, toJSON |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonitoringQuery()
Method Detail |
---|
public String performQuery() throws Exception
Query
performQuery
in class Query<ConsumerCL>
Exception
public String getGHNAverage(org.gcube.messaging.common.messages.Test.TestType type, String ghn) throws EmptyResultException, Exception
type
- Test.TestTypeghn
- the ghn
Exception
EmptyResultException
public String getTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type, String ghn) throws EmptyResultException, Exception
type
- Test.TestTypeghn
- ghn name
Exception
EmptyResultException
public HashMap<String,String> getProbes() throws Exception
Exception
public Map<String,ArrayList<String>> getGHNs() throws Exception
Exception
public String getAllTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type) throws Exception
type
- Test.TestType
Exception
- exceptionpublic String getNotifications() throws Exception
Exception
- exceptionpublic String getTodayNotifications() throws Exception
Exception
- exceptionpublic String getTodayRIMessages(String serviceClass, String serviceName) throws Exception
Exception
EmptyResultException
- Exceptionpublic String getRIMessages(String serviceClass, String serviceName) throws Exception
Exception
public String getStatistics(String testType, String GHNName, String startDate, String endDate, String groupBy) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |