All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.logspace.jvm.agent.api.order.Aggregate Maven / Gradle / Ivy

The newest version!
/**
 * Logspace
 * Copyright (c) 2015 Indoqa Software Design und Beratung GmbH. All rights reserved.
 * This program and the accompanying materials are made available under the terms of
 * the Eclipse Public License Version 1.0, which accompanies this distribution and
 * is available at http://www.eclipse.org/legal/epl-v10.html.
 */
package io.logspace.jvm.agent.api.order;

/**
 * Defines the types of aggregation that can be applied to the values of an {@link io.logspace.jvm.agent.api.event.EventProperty
 * EventProperty}.
 */
public enum Aggregate {
    /**
     * Select the maximum of the values, according to their natural order.
     */
    max,

    /**
     * Select the minimum of the values, according to their natural order.
     */
    min,

    /**
     * Calculate the arithmetic mean of the values, i.e. the sum / count.
     */
    avg,

    /**
     * Select the number of values.
     */
    count,

    /**
     * Calculate the sum of the values.
     */
    sum;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy