自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (11)
  • 问答 (1)
  • 收藏
  • 关注

原创 Spring @Cacheable遇到空值处理、设置过期时间的问题分析

问题简介:登录模块会将用户信息缓存到redis中,没有查到则存空。下次用到用户信息时,先从缓存中取,缓存中没有,再从数据库取,以减轻数据库的压力。该功能基于Sprng @cacheable实现。当用户用未注册的账号登录时,按照逻辑存入空,用户紧接着注册了账户,并尝试用该账户登录,按照逻辑,缓存中已有了为空的记录,此时不会再从数据库查一遍,这导致了该账号一直登陆失败,直到统一配置的时间到了,才会从r...

2019-07-05 14:32:44 14883 2

转载 震惊!Spring Aop不起作用可能是这个原因导致的

Mark原文:https://my.oschina.net/guangshan/blog/1807721

2019-07-05 10:58:02 3922 3

转载 写的太好了!Spring AOP @Before @Around @After 等 advice 的执行顺序

Mark原文:https://blog.csdn.net/rainbow702/article/details/52185827

2019-07-04 17:06:55 2870

原创 Java覆写equals方法为什么建议一起覆写hashCode方法

我们都知道判断对象是否相等时,使用==和覆写equals方法的区别。默认情况下,equals也是通过==比较地址的方式实现的,所以当我们想根据对象的具体内容比较时(比如判断两个学生是否是同一个人时,可以通过比较学生的学号来确定:studentA.getId()==studentB.getId()),我们会覆写equals方法://比如在Student类里public boolean equ...

2019-07-01 16:47:18 817

DemoTomcat

手写的tomcatDemo,需要的同学可以下载

2019-04-12

CryptoJsAPI-快速开始指南

CryptoJs官方指南,比网上的文章更全,总有你需要的解决方案

2018-10-19

CTB地形切片生成器

该资源可以将tif文件切割为cesium可用的.terrain数据,具体使用方式可以参考:https://blog.csdn.net/u013821237/article/details/82999006

2018-10-10

flowplayer最新版

这是真的flowplayer-7.0.2,这不是梦,下载看看,有问题提出来

2018-04-02

ssm框架master

ssm版本很好用亲测,如使用过程有问题,请评论讨论纠正

2018-04-02

Java striptBase64

jsBase64加密解密,版本很好用亲测,如使用过程有问题,请评论讨论

2018-04-02

javaBase64

javaBase64版本很好用亲测,如使用过程有问题,请评论讨论

2018-04-02

android-supportv7

android-supportv7版本很好用亲测,如使用过程有问题,请评论讨论

2018-04-02

tomcat-8.5.23

tomcat-8.5.23新版本很好用亲测,如使用过程有问题,请评论讨论

2018-04-02

cesium1.4.3

官网完整资源包含api和demo和js/css等,不能用或者有疑惑欢迎留言讨论

2018-04-02

drozer2.3.4

drozer (formerly Mercury) is the leading security testing framework for Android. drozer allows you to search for security vulnerabilities in apps and devices by assuming the role of an app and interacting with the Dalvik VM, other apps' IPC endpoints and the underlying OS. drozer provides tools to help you use, share and understand public Android exploits. It helps you to deploy a drozer Agent to a device through exploitation or social engineering. Using weasel (MWR's advanced exploitation payload) drozer is able to maximise the permissions available to it by installing a full agent, injecting a limited agent into a running process, or connecting a reverse shell to act as a Remote Access Tool (RAT).

2017-09-21

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除