public void loadAllClientToCache() {
        List<Client> clientList = clientService.list();
        clientList.forEach(c -> {
            ClientDto clientDto = BeanUtil.copyProperties(c, ClientDto.class);;
            redisson.getBucket(clientRedisKey(c.getClientId())).set(clientDto);
        });
    }
@author zlt
<p>
Blog: http://zlt2000.gitee.io
Github: https://github.com/zlt2000
zlt-uaa/src/main/java/com/central/oauth/service/impl/RegisteredClientService.java