BloomFilterIdempotencyChecker

class BloomFilterIdempotencyChecker(ttl: Duration, bloomFilterSupplier: () -> BloomFilter<String>) : IdempotencyChecker

BloomFilterIdempotencyChecker . bloomfilter-tutorial

Author

ahoo wang

Constructors

Link copied to clipboard
constructor(ttl: Duration, bloomFilterSupplier: () -> BloomFilter<String>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun check(element: String): Mono<Boolean>

检查幂等性,如果该元素通过幂等性检查则返回 true,即表示该命令不重复.