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

com.github.andyshao.lock.ReactiveRepeatCheck Maven / Gradle / Ivy

The newest version!
package com.github.andyshao.lock;

import reactor.core.publisher.Mono;

/**
 * Title: 
* Description:
* Copyright: Copyright(c) 2020/8/15 * Encoding: UNIX UTF-8 * * @author Andy.Shao */ public interface ReactiveRepeatCheck { /** * is repeated * @param uniqueKey unique key * @param mode expired mode * @param times time value * @return {@link Mono} */ Mono isRepeat(String uniqueKey, ExpireMode mode, int times); /** * is repeated * @param uniqueKey unique key * @return {@link Mono} */ Mono isRepeat(String uniqueKey); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy