|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLocalMonitor
org.gcube.messaging.common.producer.GCUBELocalProducer
public class GCUBELocalProducer
Implementation of a Local Monitor
Field Summary | |
---|---|
static GCUBEClientLog |
logger
|
Constructor Summary | |
---|---|
GCUBELocalProducer()
|
Method Summary | |
---|---|
static void |
addScope(GCUBEScope scope)
Add the Scope to the monitoredMap |
static boolean |
checkStartScope(GCUBEScope scope)
Check if the given scope belongs to start scopes |
static java.util.Set<GCUBEScope> |
getMonitoredScope()
retrun the Monitored scope |
static java.util.ArrayList<QueueConnection> |
getQueueConnection(GCUBEScope scope)
Get the QueueConnection list for the given scope |
static java.util.ArrayList<TopicConnection> |
getTopicConnection(GCUBEScope scope)
Get the TopicConnection list for the given scope |
void |
loadProbes(java.util.Map<java.lang.String,java.lang.Class<? extends GCUBETestProbe>> map)
|
static void |
main(java.lang.String[] args)
Main |
static void |
reloadConnection(GCUBEScope scope)
Reload the scope connection |
static void |
removeScope(GCUBEScope scope)
Remove Scope from BrokerMap |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static GCUBEClientLog logger
Constructor Detail |
---|
public GCUBELocalProducer()
Method Detail |
---|
public void loadProbes(java.util.Map<java.lang.String,java.lang.Class<? extends GCUBETestProbe>> map)
public static java.util.ArrayList<TopicConnection> getTopicConnection(GCUBEScope scope)
public static java.util.ArrayList<QueueConnection> getQueueConnection(GCUBEScope scope)
public static void addScope(GCUBEScope scope) throws BrokerNotConfiguredInScopeException, GCUBEScopeNotSupportedException
GCUBEScopeNotSupportedException
BrokerNotConfiguredInScopeException
public static java.util.Set<GCUBEScope> getMonitoredScope()
public static void removeScope(GCUBEScope scope)
scope
- the scope to removepublic static void reloadConnection(GCUBEScope scope)
scope
- the scope to reloadpublic void run()
public static boolean checkStartScope(GCUBEScope scope)
scope
- the scope to check
public static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |