org.overlord.sramp.governance
Class SRAMPMonitor

java.lang.Object
  extended by java.util.TimerTask
      extended by org.overlord.sramp.governance.SRAMPMonitor
All Implemented Interfaces:
Runnable

public class SRAMPMonitor
extends TimerTask


Constructor Summary
SRAMPMonitor()
           
 
Method Summary
 boolean cancel()
           
 void run()
           
 boolean urlExists(String checkUrl)
          Returns true if the given URL can be accessed.
 
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRAMPMonitor

public SRAMPMonitor()
             throws org.apache.commons.configuration.ConfigurationException
Throws:
org.apache.commons.configuration.ConfigurationException
Method Detail

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.