org.overlord.sramp.governance
Class SRAMPMonitor
java.lang.Object
java.util.TimerTask
org.overlord.sramp.governance.SRAMPMonitor
- All Implemented Interfaces:
- Runnable
public class SRAMPMonitor
- extends TimerTask
|
Method Summary |
boolean |
cancel()
|
void |
run()
|
boolean |
urlExists(String checkUrl)
Returns true if the given URL can be accessed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SRAMPMonitor
public SRAMPMonitor()
throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
cancel
public boolean cancel()
- Overrides:
cancel in class TimerTask
run
public void run()
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask
urlExists
public boolean urlExists(String checkUrl)
- Returns true if the given URL can be accessed.
- Parameters:
checkUrl -
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.