brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alasdairhodge <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #583: Generalised Entities.waitFor()
Date Wed, 08 Mar 2017 08:28:32 GMT
GitHub user alasdairhodge opened a pull request:

    https://github.com/apache/brooklyn-server/pull/583

    Generalised Entities.waitFor()

    Provides general-purpose blocking wait on any entity predicate. Example:
    ````
        Entities.waitFor(
            machineEntity,
            EntityPredicates.attributeEqualTo(MACHINE_STATE, MachineState.REBOOTING),
            Duration.FIVE_SECONDS);
    ````

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alasdairhodge/brooklyn-server generalised-entities-wait-for

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/583.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #583
    
----
commit 44d7133acb852bb42895c08ff6bcd91def1eaa51
Author: Alasdair Hodge <github@alasdairhodge.co.uk>
Date:   2017-03-08T08:06:51Z

    Add Functionals.isSatisfied(subject, predicate)

commit 61f8fc070f76d01c3a8d82a5abd09da7e387224b
Author: Alasdair Hodge <github@alasdairhodge.co.uk>
Date:   2017-03-08T08:07:21Z

    Add generalised Entities.waitFor(entity, condition, timeout)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message