[Hawkular-commits] [hawkular/hawkular] 2ad999: Fix handling of timeouts

Jay Shaughnessy jshaughn at redhat.com
Fri Mar 27 14:37:33 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/hawkular/hawkular
  Commit: 2ad9999cfcaa09e3e03e01fd563d5fab3be9b36e
      https://github.com/hawkular/hawkular/commit/2ad9999cfcaa09e3e03e01fd563d5fab3be9b36e
  Author: Jay Shaughnessy <jshaughn at redhat.com>
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
    M modules/pinger/src/main/java/org/hawkular/component/pinger/PingManager.java
    M modules/pinger/src/main/java/org/hawkular/component/pinger/PingStatus.java
    M modules/pinger/src/main/java/org/hawkular/component/pinger/Pinger.java
    M modules/pinger/src/test/java/org/hawkular/component/pinger/test/PingerTest.java

  Log Message:
  -----------
  Fix handling of timeouts
- Do not try to perform Future.get() after Future.cancel
- Change things so that we can determine the ping destination when the
  Fuure never completes (and is canceled)
- report 503 (Unavailable) status for timeouts
- replace hardcoded 10000ms response time with actual ping hang time
- Default initial pingstatus time to current system time in constructor




More information about the hawkular-commits mailing list