org.gcube.common.core.monitoring
Class LocalMonitor

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEHandler<LocalMonitor>
      extended by org.gcube.common.core.monitoring.LocalMonitor
All Implemented Interfaces:
GCUBEIHandler<LocalMonitor>

public abstract class LocalMonitor
extends GCUBEHandler<LocalMonitor>

Abstract Local Monitor

Author:
Andrea Manzi(CERN)

Field Summary
protected static HashMap<GCUBEScope,ArrayList<org.apache.axis.message.addressing.EndpointReferenceType>> brokerMap
           
protected  Map<String,Class<? extends GCUBETestProbe>> implementationMap
          Probes Implementation map
protected  long interval
           
 
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
handled, logger, producer
 
Constructor Summary
LocalMonitor()
           
 
Method Summary
 HashMap<GCUBEScope,ArrayList<org.apache.axis.message.addressing.EndpointReferenceType>> getBrokerMap()
          Get the Broker Map
 long getInterval()
          Get the Monitor Interval
protected abstract  void loadProbes(Map<String,Class<? extends GCUBETestProbe>> map)
          Load Probes from file
 void setBrokerMap(HashMap<GCUBEScope,ArrayList<org.apache.axis.message.addressing.EndpointReferenceType>> map)
          Set the Broker Map
 void setInterval(long interval)
          Set the monitor Interval
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, run, 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

interval

protected long interval

brokerMap

protected static HashMap<GCUBEScope,ArrayList<org.apache.axis.message.addressing.EndpointReferenceType>> brokerMap

implementationMap

protected Map<String,Class<? extends GCUBETestProbe>> implementationMap
Probes Implementation map

Constructor Detail

LocalMonitor

public LocalMonitor()
Method Detail

getInterval

public long getInterval()
Get the Monitor Interval

Returns:
the monitor interval

setInterval

public void setInterval(long interval)
Set the monitor Interval

Parameters:
interval - the monitor interval

getBrokerMap

public HashMap<GCUBEScope,ArrayList<org.apache.axis.message.addressing.EndpointReferenceType>> getBrokerMap()
Get the Broker Map

Returns:
the Broker Map

setBrokerMap

public void setBrokerMap(HashMap<GCUBEScope,ArrayList<org.apache.axis.message.addressing.EndpointReferenceType>> map)
Set the Broker Map

Parameters:
map - the Broker Map

loadProbes

protected abstract void loadProbes(Map<String,Class<? extends GCUBETestProbe>> map)
Load Probes from file

Parameters:
map - the Properties map


Copyright © 2013. All Rights Reserved.