org.gcube.messaging.common.consumerlibrary
Class ConsumerCL
java.lang.Object
org.gcube.messaging.common.consumerlibrary.ConsumerCL
public class ConsumerCL
- extends Object
- Author:
- andrea
Constructor Summary |
ConsumerCL(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.messaging.common.consumer.stubs.MessagingConsumerPortType> config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsumerCL
public ConsumerCL(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.messaging.common.consumer.stubs.MessagingConsumerPortType> config)
backupMonitoringDB
public void backupMonitoringDB()
throws Exception
- Throws:
Exception
backupAccountingDB
public void backupAccountingDB()
throws Exception
- Throws:
Exception
queryMonitoringDB
public String queryMonitoringDB(String query)
throws Exception
- Throws:
Exception
queryAccountingDB
public String queryAccountingDB(String query)
throws Exception
- Throws:
Exception
querySystemAccountingDB
public String querySystemAccountingDB(String query)
throws Exception
- Throws:
Exception
sendReport
public void sendReport(String date,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Throws:
Exception
getQuery
public <QUERY extends Query<ConsumerCL>> QUERY getQuery(Class<QUERY> type,
ConsumerCL call)
throws InstantiationException,
IllegalAccessException
- Returns a query from the interface or class which defines its type.
The method is intended as a means to bind query interfaces to concrete implementations provided
along with implementations of this interface.
- Type Parameters:
QUERY
- the type of the query which produces results- Parameters:
type
- the query interface or class.
- Returns:
- the query.
- Throws:
IllegalAccessException
- IllegalAccessException
InstantiationException
- IllegalAccessException
Copyright © 2013. All Rights Reserved.