public class GCUBELocalProducer
extends org.gcube.common.core.monitoring.LocalMonitor
| Constructor and Description |
|---|
GCUBELocalProducer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addScope(org.gcube.common.core.scope.GCUBEScope scope)
Add the Scope to the monitoredMap
|
static boolean |
checkStartScope(org.gcube.common.core.scope.GCUBEScope scope)
Check if the given scope belongs to start scopes
|
static Set<org.gcube.common.core.scope.GCUBEScope> |
getMonitoredScope()
retrun the Monitored scope
|
static ArrayList<javax.jms.QueueConnection> |
getQueueConnection(org.gcube.common.core.scope.GCUBEScope scope)
Get the QueueConnection list for the given scope
|
void |
loadProbes(Map<String,Class<? extends org.gcube.common.core.monitoring.GCUBETestProbe>> map) |
static void |
reloadConnection(org.gcube.common.core.scope.GCUBEScope scope)
Reload the scope connection
|
static void |
removeScope(org.gcube.common.core.scope.GCUBEScope scope)
Remove Scope from BrokerMap
|
void |
run() |
getBrokerMap, getInterval, setBrokerMap, setIntervalclearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribepublic void loadProbes(Map<String,Class<? extends org.gcube.common.core.monitoring.GCUBETestProbe>> map)
loadProbes in class org.gcube.common.core.monitoring.LocalMonitorpublic static ArrayList<javax.jms.QueueConnection> getQueueConnection(org.gcube.common.core.scope.GCUBEScope scope)
public static void addScope(org.gcube.common.core.scope.GCUBEScope scope)
throws BrokerNotConfiguredInScopeException,
Exception
public static Set<org.gcube.common.core.scope.GCUBEScope> getMonitoredScope()
public static void removeScope(org.gcube.common.core.scope.GCUBEScope scope)
scope - the scope to removepublic static void reloadConnection(org.gcube.common.core.scope.GCUBEScope scope)
scope - the scope to reloadpublic void run()
run in interface org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.common.core.monitoring.LocalMonitor>run in class org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.common.core.monitoring.LocalMonitor>public static boolean checkStartScope(org.gcube.common.core.scope.GCUBEScope scope)
scope - the scope to checkCopyright © 2014. All Rights Reserved.