Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redisson client 查看布隆过滤器的值 卡死 #25

Closed
bajie-git opened this issue Mar 31, 2021 · 1 comment
Closed

redisson client 查看布隆过滤器的值 卡死 #25

bajie-git opened this issue Mar 31, 2021 · 1 comment

Comments

@bajie-git
Copy link

Config config = new Config();
        config.useSingleServer()
                .setAddress("redis://127.0.0.1:6379").setDatabase(0);
        RedissonClient redisson = Redisson.create(config);
        RBloomFilter<String> bloomFilter = redisson.getBloomFilter("sample");
        bloomFilter.tryInit(55000000L, 0.04);
        bloomFilter.add("1");
        System.out.println(bloomFilter.contains("1"));
@cc20110101
Copy link
Owner

? 发错地方了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants