|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.common.core.monitoring.LocalMonitor>
org.gcube.common.core.monitoring.LocalMonitor
org.gcube.messaging.common.producer.GCUBELocalProducer
public class GCUBELocalProducer
Implementation of a Local Monitor
Field Summary | |
---|---|
static org.gcube.common.core.utils.logging.GCUBEClientLog |
logger
|
Fields inherited from class org.gcube.common.core.monitoring.LocalMonitor |
---|
implementationMap, interval |
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
---|
handled, producer |
Constructor Summary | |
---|---|
GCUBELocalProducer()
|
Method Summary | |
---|---|
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 |
main(String[] args)
Main |
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()
|
Methods inherited from class org.gcube.common.core.monitoring.LocalMonitor |
---|
getBrokerMap, getInterval, setBrokerMap, setInterval |
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
---|
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.gcube.common.core.utils.logging.GCUBEClientLog logger
Constructor Detail |
---|
public GCUBELocalProducer()
Method Detail |
---|
public void loadProbes(Map<String,Class<? extends org.gcube.common.core.monitoring.GCUBETestProbe>> map)
loadProbes
in class org.gcube.common.core.monitoring.LocalMonitor
public 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
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 check
public static void main(String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |