org.gcube.common.core.monitoring
Class GCUBETestProbe
java.lang.Object
org.gcube.common.core.utils.handlers.GCUBEHandler<GCUBETestProbe>
org.gcube.common.core.monitoring.GCUBETestProbe
- All Implemented Interfaces:
- GCUBEProbe, GCUBEIHandler<GCUBETestProbe>
- Direct Known Subclasses:
- GCUBENotificationProbe
public abstract class GCUBETestProbe
- extends GCUBEHandler<GCUBETestProbe>
- implements GCUBEProbe
Abstract GCUBETestProbe
- Author:
- Andrea Manzi(CERN)
| 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 |
scheduler
protected org.gcube.common.core.monitoring.GCUBETestProbe.Scheduler scheduler
map
protected HashMap<GCUBEScope,GCUBEMessage> map
GCUBETestProbe
public GCUBETestProbe()
- Default constructor
getDescription
public String getDescription()
- Get the Probe description
- Returns:
- the probe description
setDescription
public void setDescription(String description)
- Set the probe description
- Parameters:
description -
getInterval
public long getInterval()
setInterval
public void setInterval(long interval)
execute
public void execute()
throws Exception
- Execute the probe as a
GCUBEScheduledHandler
- Specified by:
execute in interface GCUBEProbe
- Throws:
Exception
Copyright © 2013. All Rights Reserved.