brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [6/6] brooklyn-server git commit: Closes #493
Date Tue, 07 Feb 2017 16:33:43 GMT
Closes #493

Make the Repeater class use a threads to execute the checks

The Future returned by the Executor can be cancelled if it does not return a value after the
required timeout.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/c62f84a9
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/c62f84a9
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/c62f84a9

Branch: refs/heads/master
Commit: c62f84a95ec639d06849b3333f0cd0e60df4becd
Parents: 4c63794 2a3da72
Author: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Authored: Tue Feb 7 18:33:23 2017 +0200
Committer: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Committed: Tue Feb 7 18:33:23 2017 +0200

----------------------------------------------------------------------
 .../apache/brooklyn/util/repeat/Repeater.java   | 192 ++++++++++++-------
 .../brooklyn/util/repeat/RepeaterTest.java      |   4 +-
 2 files changed, 122 insertions(+), 74 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/c62f84a9/utils/common/src/main/java/org/apache/brooklyn/util/repeat/Repeater.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/c62f84a9/utils/common/src/test/java/org/apache/brooklyn/util/repeat/RepeaterTest.java
----------------------------------------------------------------------


Mime
View raw message