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

io.quarkus.redis.datasource.timeseries.DuplicatePolicy Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.redis.datasource.timeseries;

public enum DuplicatePolicy {
    /**
     * BLOCK: ignore any newly reported value and reply with an error
     */
    BLOCK,
    /**
     * FIRST: ignore any newly reported value
     */
    FIRST,
    /**
     * LAST: override with the newly reported value
     */
    LAST,
    /**
     * MIN: only override if the value is lower than the existing value
     */
    MIN,
    /**
     * MAX: only override if the value is higher than the existing value
     */
    MAX,
    /**
     * SUM: If a previous sample exists, add the new sample to it so that the updated value is equal
     * to (previous + new). If no previous sample exists, set the updated value equal to the new value.
     */
    SUM
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy