wendao8469759
wendao8469759
同问。spring boot 2.0支持什么时候出
弄好了 安装目录有问题。。
``` private Set scanTargetKeys(String keyWords, Integer pageNum,Integer pageSize) { if (StringUtil.isEmpty(keyWords)) { keyWords = "*"; } String finalKeyWords = keyWords; return redisTemplate.execute((RedisCallback) connection -> { Set keysTmp = new HashSet();...
There may be some issues with my description, but I actually want to implement the Redis command: scan cursor [MATCH pattern] [COUNT count] use cursor. next() is called, it starts...
```java private Set scanTargetKeys2(String keyWords, Long pageNum, Long pageSize) { Set keysTmp = new HashSet(); if (StringUtil.isEmpty(keyWords)) { keyWords = "*"; } String finalKeyWords = keyWords; ScanOptions scanOptions = ScanOptions.scanOptions()...
Yes, according to the explanation in the official website doc。 Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return...
@jxblum @mp911de Thank you very much. What you're saying is very correct. Redis scan itself has certain drawbacks, such as the possibility of duplicate keys in the returned results from...
增加两个类就可以, 我自己写了个插件, 可供参考 ```java package com.chaonao.admin.config.swagger; import com.chaonao.core.pojo.vo.BaseVo; import com.fasterxml.classmate.ResolvedType; import com.fasterxml.classmate.TypeResolver; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import springfox.documentation.schema.Types; import springfox.documentation.spi.DocumentationType; import springfox.documentation.spi.service.OperationModelsProviderPlugin; import springfox.documentation.spi.service.contexts.RequestMappingContext; import springfox.documentation.swagger.common.SwaggerPluginSupport; /** *...
Due to technical reasons, I may need to study how to implement it
Mmm-hmm. I've configured it to use 'mvn clean package,' but after packaging, the program still hasn't changed the icon. However, I closed the command line and shut down IDEA. After...