|
||||||||||
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<MessagingConsumerServiceCall>
org.gcube.messaging.common.consumerlibrary.query.AccountingQuery
org.gcube.messaging.common.consumerlibrary.query.NodeAccountingQuery
public class NodeAccountingQuery
Nested Class Summary | |
---|---|
class |
NodeAccountingQuery.InvocationInfo
|
Field Summary | |
---|---|
static java.lang.String |
DATE_FORMAT
|
static java.text.SimpleDateFormat |
format
|
Constructor Summary | |
---|---|
NodeAccountingQuery()
|
Method Summary | |
---|---|
NodeAccountingQuery.InvocationInfo |
getAverageHourlyInvocationInfo(java.lang.String ServiceClass,
java.lang.String ServiceName,
java.lang.String[] dateLimits,
GCUBEScope... callerScope)
Deprecated. |
java.lang.Long |
getAverageHourlyInvocations(java.lang.String ServiceClass,
java.lang.String ServiceName,
java.lang.String[] dateLimits,
GCUBEScope... callerScope)
Deprecated. |
NodeAccountingQuery.InvocationInfo |
getDailyInvocations(java.lang.String ServiceClass,
java.lang.String ServiceName,
java.lang.String GHNName,
java.lang.String date,
GCUBEScope... callerScope)
Deprecated. |
java.util.ArrayList<NodeAccountingQuery.InvocationInfo> |
getDailyInvocationsGroupByIp(java.lang.String ServiceClass,
java.lang.String ServiceName,
java.lang.String GHNName,
java.lang.String date,
GCUBEScope... callerScope)
Deprecated. |
java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> |
getGHNs()
|
NodeAccountingQuery.InvocationInfo |
getHourlyInvocations(java.lang.String ServiceClass,
java.lang.String ServiceName,
java.lang.String GHNName,
java.lang.String date,
java.lang.String hourInterval,
GCUBEScope... callerScope)
Deprecated. |
NodeAccountingQuery.InvocationInfo |
getInvocationPerHour(java.lang.String startDate,
java.lang.String endDate,
GCUBEScope... callerScope)
getInvocationPerHour |
NodeAccountingQuery.InvocationInfo |
getInvocationPerInterval(java.lang.String serviceClass,
java.lang.String serviceName,
java.lang.String startDate,
java.lang.String endDate,
GCUBEScope... callerScope)
|
NodeAccountingQuery.InvocationInfo |
getInvocationPerInterval(java.lang.String serviceClass,
java.lang.String serviceName,
java.lang.String GHNName,
java.lang.String startDate,
java.lang.String endDate,
GCUBEScope... callerScope)
getInvocationPerInterval |
java.lang.String |
getInvocationPerInterval(java.lang.String serviceClass,
java.lang.String serviceName,
java.lang.String GHNName,
java.lang.String startDate,
java.lang.String endDate,
java.lang.String callerScope,
java.lang.String groupBy)
|
java.util.ArrayList<java.util.ArrayList<java.lang.String>> |
getScopes()
|
java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> |
getServices()
|
java.lang.Integer |
getSumInvocations(java.lang.String ServiceClass,
java.lang.String ServiceName,
GCUBEScope... callerScope)
Deprecated. |
Methods inherited from class org.gcube.messaging.common.consumerlibrary.query.AccountingQuery |
---|
performQuery |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DATE_FORMAT
public static java.text.SimpleDateFormat format
Constructor Detail |
---|
public NodeAccountingQuery()
Method Detail |
---|
public NodeAccountingQuery.InvocationInfo getInvocationPerInterval(java.lang.String serviceClass, java.lang.String serviceName, java.lang.String GHNName, java.lang.String startDate, java.lang.String endDate, GCUBEScope... callerScope) throws java.lang.Exception
serviceClass
- serviceClassserviceName
- serviceNameGHNName
- GHNNamestartDate
- startDate ( in the form "yyyy-MM-dd HH:mm:ss")endDate
- endDate ( in the form "yyyy-MM-dd HH:mm:ss")callerScope
- callerScope
java.lang.Exception
- callerScopepublic NodeAccountingQuery.InvocationInfo getInvocationPerInterval(java.lang.String serviceClass, java.lang.String serviceName, java.lang.String startDate, java.lang.String endDate, GCUBEScope... callerScope) throws java.lang.Exception
java.lang.Exception
public java.lang.String getInvocationPerInterval(java.lang.String serviceClass, java.lang.String serviceName, java.lang.String GHNName, java.lang.String startDate, java.lang.String endDate, java.lang.String callerScope, java.lang.String groupBy) throws java.lang.Exception
java.lang.Exception
public NodeAccountingQuery.InvocationInfo getInvocationPerHour(java.lang.String startDate, java.lang.String endDate, GCUBEScope... callerScope) throws java.lang.Exception
startDate
- ( in the form "yyyy-MM-dd HH:mm:ss")endDate
- ( in the form "yyyy-MM-dd HH:mm:ss")callerScope
- callerScope
java.lang.Exception
@Deprecated public NodeAccountingQuery.InvocationInfo getHourlyInvocations(java.lang.String ServiceClass, java.lang.String ServiceName, java.lang.String GHNName, java.lang.String date, java.lang.String hourInterval, GCUBEScope... callerScope) throws java.lang.Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- ServiceNamedate
- datehourInterval
- String in the form (12-13)callerScope
- callerScope optional
java.lang.Exception
- Exception
EmptyResultException
- Exception@Deprecated public java.lang.Integer getSumInvocations(java.lang.String ServiceClass, java.lang.String ServiceName, GCUBEScope... callerScope) throws java.lang.Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- ServiceNamedate
- datehourInterval
- String in the form (12-13)callerScope
- callerScope optional
java.lang.Exception
- Exception
EmptyResultException
- Exception@Deprecated public NodeAccountingQuery.InvocationInfo getAverageHourlyInvocationInfo(java.lang.String ServiceClass, java.lang.String ServiceName, java.lang.String[] dateLimits, GCUBEScope... callerScope) throws java.lang.Exception, EmptyResultException
dateLimits
- dateLimitscallerScope
- optional
java.lang.Exception
EmptyResultException
@Deprecated public java.lang.Long getAverageHourlyInvocations(java.lang.String ServiceClass, java.lang.String ServiceName, java.lang.String[] dateLimits, GCUBEScope... callerScope) throws java.lang.Exception, EmptyResultException
dateLimits
- dateLimitscallerScope
- optional
java.lang.Exception
EmptyResultException
@Deprecated public NodeAccountingQuery.InvocationInfo getDailyInvocations(java.lang.String ServiceClass, java.lang.String ServiceName, java.lang.String GHNName, java.lang.String date, GCUBEScope... callerScope) throws java.lang.Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- GHNNamedate
- date stringcallerScope
- optional
java.lang.Exception
- Exception
EmptyResultException
- Exception@Deprecated public java.util.ArrayList<NodeAccountingQuery.InvocationInfo> getDailyInvocationsGroupByIp(java.lang.String ServiceClass, java.lang.String ServiceName, java.lang.String GHNName, java.lang.String date, GCUBEScope... callerScope) throws java.lang.Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- GHNNamedate
- date stringcallerScope
- optional
java.lang.Exception
- Exception
EmptyResultException
- Exceptionpublic java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> getServices() throws java.lang.Exception
java.lang.Exception
public java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> getGHNs() throws java.lang.Exception
java.lang.Exception
public java.util.ArrayList<java.util.ArrayList<java.lang.String>> getScopes() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |