hbxflihua的博客 -凯发k8国际

`
hbxflihua
  • 浏览: 653433 次
  • 性别:
  • 来自: 杭州
博主相关
  • 博客
  • 微博
  • 相册
  • 收藏
  • 社区版块
    • ( 0)
    • ( 0)
    • ( 1)
    存档分类
    最新评论
    文章列表
            多步操作在日常生活和工作中很常见,比如孩子出生之前先要办理《准生证》,出生以后要办理《出生医学证明》,然后拿着《户口簿》和《出生医学证明》给孩子上户口。软件领域的多步操作事件驱动源于工作和生� ...
    由于api接口无法控制调用方的行为,因此当遇到瞬时请求量激增时,会导致接口占用过多服务器资源,使得其他请求响应速度降低或是超时,更有甚者可能导致服务器宕机。    限流指对应用服务接口的请求调用次数进行限制 ...
     什么是shiro? apache旗下强大灵活的开源安全框架 提供认证、授权、会话管理、安全加密等功能     shiro整体架构   securitymanager shiro的核心,shiro通过securitymanager 提供安全服务; authenticator 认证器,管理主体的登录、登出; authorizer 授权器,赋予主体有哪些权限; sessionmanager session管理器,可以脱离web容器; sessiondao
      1、pom.xml文件中添加redis依赖 org.springframework.boot spring-boot-starter-data-redis   2、application.yml中配置redis spring: redis: dat ...
      1、引入spring-data-redis依赖的jar 包 org.springframework.data spring-data-redis 1.7.1.release
    package com.lh.core.core.util; import java.util.arrays; import java.util.concurrent.timeunit; import org.springframework.data.redis.core.redistemplate; import com.rd.ifaes.common.dict.expiretime; import com.rd.ifaes.common.util.springcontextholder; /** * redistemplate操作工具类 * * @ ...
    spring目前在@cacheable和@cacheevict等注解上不支持缓存时效设置,只允许通过配置文件设置全局时效。这样就很不方便设定时间。比如系统参数和业务数据的时效是不一样的,这给程序开发造成很大的困扰。不得已,我重写了spring的这两个注解。以下是具体实现。   首先定义@cacheable和@cacheevict注解类。 package com.lh.common.annotation; import java.lang.annotation.elementtype; import java.lang.annotation.retention; import ...
    global site tag (gtag.js) - google analytics
    网站地图