Branch: refs/heads/master
Home:
https://github.com/hawkular/hawkular
Commit: 2ad9999cfcaa09e3e03e01fd563d5fab3be9b36e
https://github.com/hawkular/hawkular/commit/2ad9999cfcaa09e3e03e01fd563d5...
Author: Jay Shaughnessy <jshaughn(a)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