马府强
2 years ago
118 changed files with 509 additions and 128 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@ |
|||
#Generated by Maven |
|||
#Sat Dec 31 09:13:26 CST 2022 |
|||
version=1.0-SNAPSHOT |
|||
groupId=org.example |
|||
artifactId=demodump |
@ -1,63 +0,0 @@ |
|||
org\example\redislimater\exception\user\CaptchaException.class |
|||
org\example\redislimater\exception\user\UserPasswordRetryLimitExceedException.class |
|||
org\example\redislimater\StringUtils.class |
|||
org\example\redislimater\utils\MessageUtils.class |
|||
org\example\redislimater\exception\file\InvalidExtensionException$InvalidFlashExtensionException.class |
|||
org\example\redislimater\exception\user\RoleBlockedException.class |
|||
org\example\redislimater\RedisUtils.class |
|||
org\example\redislimater\exception\job\TaskException.class |
|||
org\example\redislimater\exception\file\InvalidExtensionException$InvalidVideoExtensionException.class |
|||
org\example\redislimater\exception\ServiceException.class |
|||
org\example\function\VUtils.class |
|||
org\example\function\PresentOrElseHandler.class |
|||
org\example\redislimater\utils\IpUtils.class |
|||
org\example\redislimater\utils\ErrorCodeEnum.class |
|||
org\example\function\BranchHandle.class |
|||
org\example\redislimater\exception\DemoModeException.class |
|||
org\example\zhuangshinew\IwatchFilm.class |
|||
org\example\redislimater\exception\user\UserPasswordNotMatchException.class |
|||
org\example\redislimater\utils\Convert.class |
|||
org\example\redislimater\exception\user\UserPasswordRetryLimitCountException.class |
|||
org\example\redislimater\exception\user\UserException.class |
|||
org\example\strategy\IDEA.class |
|||
org\example\redislimater\exception\user\UserNotExistsException.class |
|||
org\example\strategy\Programmer.class |
|||
org\example\redislimater\utils\CharsetKit.class |
|||
org\example\redislimater\exception\BusinessException.class |
|||
org\example\redislimater\utils\StrFormatter.class |
|||
org\example\function\ThrowExceptionFunction.class |
|||
org\example\redislimater\exception\UtilException.class |
|||
org\example\redislimater\exception\file\FileNameLengthLimitExceededException.class |
|||
org\example\redislimater\controller\TestController.class |
|||
org\example\redislimater\utils\Recode.class |
|||
org\example\optional\OptionalTest.class |
|||
org\example\redislimater\exception\ApiCallException.class |
|||
org\example\redislimater\exception\user\UserBlockedException.class |
|||
org\example\zhuangshi\RetroInternetBar.class |
|||
org\example\redislimater\utils\spring\SpringUtils.class |
|||
org\example\zhuangshi\ISurfTheInternetService.class |
|||
org\example\redislimater\exception\file\FileSizeLimitExceededException.class |
|||
org\example\zhuangshi\MainTest.class |
|||
org\example\redislimater\exception\file\InvalidExtensionException$InvalidMediaExtensionException.class |
|||
org\example\redislimater\exception\user\UserDeleteException.class |
|||
org\example\redislimater\exception\PGException.class |
|||
org\example\haoshi\StopWatchTest.class |
|||
org\example\sublist\ArrayListTest.class |
|||
org\example\zhuangshinew\MainTest.class |
|||
org\example\redislimater\ApiCallAdvice.class |
|||
org\example\redislimater\exception\base\BaseException.class |
|||
org\example\optional\Address.class |
|||
org\example\redislimater\ApiCall.class |
|||
org\example\strategy\Program.class |
|||
org\example\zhuangshinew\FoodDecorator.class |
|||
org\example\redislimater\exception\file\InvalidExtensionException$InvalidImageExtensionException.class |
|||
org\example\zhuangshinew\GirlFriendDecorator.class |
|||
org\example\zhuangshi\SurfDecorator.class |
|||
org\example\zhuangshinew\HaoHuaFilm.class |
|||
org\example\redislimater\exception\file\FileException.class |
|||
org\example\redislimater\exception\file\InvalidExtensionException.class |
|||
org\example\redislimater\exception\job\TaskException$Code.class |
|||
org\example\strategy\Eclipse.class |
|||
org\example\zhuangshi\RechargeDecorator.class |
|||
org\example\optional\Student.class |
|||
org\example\zhuangshi\FadInternetCafe.class |
@ -1,58 +0,0 @@ |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\CharsetKit.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshi\SurfDecorator.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshinew\GirlFriendDecorator.java |
|||
D:\demo\demodump\src\main\java\org\example\function\BranchHandle.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\BusinessException.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshi\MainTest.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\Convert.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\job\TaskException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\UserNotExistsException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\Recode.java |
|||
D:\demo\demodump\src\main\java\org\example\haoshi\StopWatchTest.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\UserException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\UserDeleteException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\UserBlockedException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\RedisUtils.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshi\RetroInternetBar.java |
|||
D:\demo\demodump\src\main\java\org\example\sublist\ArrayListTest.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\DemoModeException.java |
|||
D:\demo\demodump\src\main\java\org\example\strategy\Programmer.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\CaptchaException.java |
|||
D:\demo\demodump\src\main\java\org\example\function\VUtils.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\base\BaseException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\ApiCallException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\UserPasswordRetryLimitCountException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\ApiCall.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\controller\TestController.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\StringUtils.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\RoleBlockedException.java |
|||
D:\demo\demodump\src\main\java\org\example\function\PresentOrElseHandler.java |
|||
D:\demo\demodump\src\main\java\org\example\optional\OptionalTest.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\UserPasswordRetryLimitExceedException.java |
|||
D:\demo\demodump\src\main\java\org\example\optional\Address.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshinew\MainTest.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\StrFormatter.java |
|||
D:\demo\demodump\src\main\java\org\example\optional\Student.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\file\FileNameLengthLimitExceededException.java |
|||
D:\demo\demodump\src\main\java\org\example\strategy\IDEA.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\file\FileSizeLimitExceededException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\spring\SpringUtils.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshinew\HaoHuaFilm.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\file\InvalidExtensionException.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshi\FadInternetCafe.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\MessageUtils.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\ApiCallAdvice.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\IpUtils.java |
|||
D:\demo\demodump\src\main\java\org\example\strategy\Program.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\UtilException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\utils\ErrorCodeEnum.java |
|||
D:\demo\demodump\src\main\java\org\example\strategy\Eclipse.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\PGException.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\ServiceException.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshi\RechargeDecorator.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshinew\IwatchFilm.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\user\UserPasswordNotMatchException.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshinew\FoodDecorator.java |
|||
D:\demo\demodump\src\main\java\org\example\redislimater\exception\file\FileException.java |
|||
D:\demo\demodump\src\main\java\org\example\zhuangshi\ISurfTheInternetService.java |
|||
D:\demo\demodump\src\main\java\org\example\function\ThrowExceptionFunction.java |
@ -1 +0,0 @@ |
|||
org\example\Test.class |
@ -1 +0,0 @@ |
|||
D:\demo\demodump\src\test\java\org\example\Test.java |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,45 @@ |
|||
package com.yomahub.tlog.example.feign.configuration; |
|||
|
|||
|
|||
import org.redisson.Redisson; |
|||
import org.redisson.api.RBlockingQueue; |
|||
import org.redisson.api.RDelayedQueue; |
|||
import org.redisson.api.RedissonClient; |
|||
import org.redisson.config.Config; |
|||
import org.springframework.context.annotation.Bean; |
|||
import org.springframework.context.annotation.Configuration; |
|||
|
|||
import java.io.IOException; |
|||
|
|||
/** |
|||
* @Description: |
|||
* @Created: with IntelliJ IDEA. |
|||
* @author: woniu |
|||
* @createTime: 2023-03-11 09:39 |
|||
**/ |
|||
|
|||
@Configuration |
|||
public class MyRedissonConfig { |
|||
|
|||
@Bean(destroyMethod = "shutdown") |
|||
public RedissonClient redisson() throws IOException { |
|||
Config config = new Config(); |
|||
config.useSingleServer().setAddress("redis://192.168.56.10:6379").setPassword("123456"); |
|||
RedissonClient redissonClient = Redisson.create(config); |
|||
return redissonClient; |
|||
} |
|||
|
|||
|
|||
@Bean |
|||
public RBlockingQueue<String> blockingQueue(RedissonClient redissonClient) { |
|||
return redissonClient.getBlockingQueue("TOKEN-RENEWAL"); |
|||
} |
|||
|
|||
@Bean |
|||
public RDelayedQueue<String> delayedQueue(RBlockingQueue<String> blockingQueue, |
|||
RedissonClient redissonClient) { |
|||
return redissonClient.getDelayedQueue(blockingQueue); |
|||
} |
|||
} |
|||
|
|||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue