brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] brooklyn-server pull request #785: Aggregator: support min/max
Date Wed, 02 Aug 2017 13:49:32 GMT
GitHub user aledsage opened a pull request:

    Aggregator: support min/max

    Adds support for simple `min` and `max` aggregators.
    Also extracts utility functions into `MathAggregatorFunctions` (marking them as `@Beta`),
deprecating the nested classes and static methods in `Enrichers`.
    The motivation for min/max is for a CouchDB cluster (in pure yaml) - we want all the members
of the cluster to know about each other. We can add a sensor to each node that indicates the
number of nodes it knows about. We can then add a `min` aggregator on the cluster that tells
us the size of the smallest partition.

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

    $ git pull aggregator-minAndMax

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

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

    This closes #785
commit c15a64ba584b5a6d9ac60a37bfcae08ae8462ce7
Author: Aled Sage <>
Date:   2017-08-02T13:39:14Z

    Aggregator: support min/max
    Extracts utility functions into MathAggregatorFunctions.


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 or file a JIRA ticket
with INFRA.

View raw message