自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Quartz任务并发处理

描述:使用quartz,设置的任务间隔是30秒,但是发现有的情况下,30秒内还没有处理完,此时,一个新的线程被创建,上一个30秒处理的数据又再次被get到并被处理,导致数据被处理两次【在数据库中更新两次或插入两次】。 想要的结果:当一个job再30秒内,还没有执行完毕,下一个线程不会被创建,从而保证在同一个时间点,相同的job不会被处理两次或更多次。 实现: 1)使用quartz【1.8.6

2017-12-08 14:13:20 5301

LinuxCommandLine中英文[快乐的linux命令行]

When we speak of the command line, we are really referring to the shell. The shell is a program that takes keyboard commands and passes them to the operating system to carry out. Almost all Linux distributions supply a shell program from the GNU Project called bash. The name “bash” is an acronym for “Bourne Again SHell”, a reference to the fact bash is an enhanced replacement for sh, the original Unix shell program written by Steve Bourne.

2018-09-21

google.zxing

使用zxing生成二维码

2017-07-13

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

TA关注的人

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