Package com.betfair.tornjak.monitor.active

Examples of com.betfair.tornjak.monitor.active.Check


     *
     * @param monitor the Monitor
     * @return the monitored URL for this service if UrlCheck is used, or null if not
     */
    public static String getUrlFromMonitor(ActiveMethodMonitor monitor) {
        Check check = monitor.getActiveMonitor();
        if (check instanceof UrlCheck) {
            try {
                return ((UrlCheck)check).getUrlProvider().get();
            } catch (Exception e) {
                return e.getMessage();
View Full Code Here

TOP

Related Classes of com.betfair.tornjak.monitor.active.Check

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.