com.github.andyshao.lock.ReactiveRepeatCheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Gear Show documentation
Show all versions of Gear Show documentation
Enhance and formating the coding of JDK
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