自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (152)
  • 收藏
  • 关注

原创 Collections,Synchronized

atic List synchronizedList(list l) // //public static Map synchronizedMap(Map m) // //public static Set synchronizedSet(Set s) // //public static SortedMap synchronizedSortedMap(SortedMap sm) // //public static SortedSet synchronizedSortedSet(Sorte

2018-01-26 09:53:51 89

原创 join

2018-01-26 09:42:32 92

原创 ReentrantLock,Condition

i++) { queue.put("a"); String string = queue.getString(); System.out.println(string); } } public abstract class MessageQueue<T>{ private Queue<T> queue; private List&lt

2018-01-26 09:42:11 94

原创 ExecutorService

util.concurrent.ScheduledExecutorService; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; public class ExecutorServiceTest { public static void main(String[] args) { ExecutorService exe =null; exe = E

2018-01-25 17:55:21 82

原创 CountDownLatch

A,它要等待其他4个任务执行完毕之后才能执行,此时就可以利用CountDownLatch来实现这种功能 public static void main(String[] args) throws InterruptedException { ExecutorService newFixedThreadPool = Executors.newFixedThreadPool(10); int num = 10; CountDownLatch cdl = new CountDownLatc

2018-01-25 17:53:15 100

原创 Callable 与 Future

ava.util.concurrent.Executors; import java.util.concurrent.Future; public class CallableTest { // 异步 木桶原理 public static void main(String[] args) throws InterruptedException, ExecutionException { ExecutorService executorService = Executors.ne

2018-01-25 17:51:59 82

原创 Semaphore

2018-01-25 17:46:22 125

原创 CyclicBarrier

c void main(String[] args) throws InterruptedException { ExecutorService newFixedThreadPool = Executors.newFixedThreadPool(10); int num = 5 ; CyclicBarrier cyclicBarrier = new CyclicBarrier(num); for (int i = 0; i < 5; i++) { newFix

2018-01-25 17:43:12 83

遍历 jdk1.7 jdk1.8 异同点

bin\jdeps.exe false // D:\soft\Java\jdk_1.8.0.0_64\bin\jjs.exe false // D:\soft\Java\jdk_1.8.0.0_64\javafx-src.zip false // D:\soft\Java\jdk_1.8.0.0_64\jre\bin\decora_sse.dll false // D:\soft\Java\jdk_1.8.0.0_64\jre\bin\j2pkcs11.dll

2018-01-23 16:04:58 170

手写 tomcat (nio)

ate int port = 8080; //private ExecutorService exec = Executors.newFixedThreadPool(60); private ExecutorService exec = new ThreadPoolExecutor(60, 60, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>(2000)); private Se

2018-01-22 17:08:15 155

手写 springmvc

ceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <org.slf4j-version>1.7.9</org.slf4j-versio

2018-01-16 11:15:26 108

httpd 2.0.59 php 安装

httpd 2.0.59 php 安装

2017-05-16

pywin32-220.win-amd64-py2.7.exe

pywin32-220.win-amd64-py2.7.exe 安装 py-mysql 出错 需要安装 http://knight-black-bob.iteye.com/category/361478

2017-05-15

python 2.7.9 64 windows

python 2.7.9 64 windows python 安装 http://knight-black-bob.iteye.com/category/361478

2017-05-15

推送sdk (类似百度 推送 ) android mina (待优化... )

http://knight-black-bob.iteye.com/blog/2370938 推送sdk (类似百度 推送 ) android mina (待优化... ) 本demo 研究的是原理,不要计较太多。。。。 至于token生成,service 保活,定时启动 不做说明。

2017-04-24

QQ 实战 客户端 android stdio

http://knight-black-bob.iteye.com/blog/2370462 QQ 实战 客户端 android stdio

2017-04-22

QQ 实战 客户端 eclipse

http://knight-black-bob.iteye.com/blog/2370462 QQ 实战 客户端 eclipse

2017-04-22

QQ 实战 服务器端

http://knight-black-bob.iteye.com/blog/2370462 QQ实战 服务器端

2017-04-22

tomcat session共享 redis

tomcat session共享 redis

2017-04-21

多module pom项目 构建 maven

http://knight-black-bob.iteye.com/blog/2361377 多module pom项目 构建 maven 含 maven 详细配置 含 eastrest api web 供手机端使用 含 web 供 网站开发 含 service orm mybatis 含 commonutil 含 entity

2017-03-28

fastdfs 5.05

fastdfs-5.05.tar.gz

2017-03-14

libfastcommon

lib fast common fastdfs lib fast common fastdfs lib fast common fastdfs fastdfs 安装 需要包

2017-03-13

google postman

google postman

2017-03-10

mybatis generator 自动生成 dao mapping object

mybatis generator 自动生成 dao mapping object ------------------------------ http://knight-black-bob.iteye.com/blog/2360841

2017-03-08

jetty maven pom run

jetty maven pom run ---------------------------------------- http://knight-black-bob.iteye.com/blog/2360698

2017-03-07

python django firstweb

python django firstweb http://knight-black-bob.iteye.com/blog/2358196

2017-02-21

sqllite expert pro

sqllite expert pro

2017-02-21

springcloud hystrix 断路由

springcloud hystrix 断路由 http://knight-black-bob.iteye.com/blog/2356431

2017-02-21

springcloud bus rabbitmq 分布式队列

springcloud bus rabbitmq 分布式队列 http://knight-black-bob.iteye.com/blog/2356839

2017-02-21

springcloud zuul gateway 服务网关

springcloud zuul gateway 服务网关 http://knight-black-bob.iteye.com/blog/2357683

2017-02-21

springcloud computeservice 服务提供者

springcloud computeservice 服务提供者 http://knight-black-bob.iteye.com/blog/2356149

2017-02-21

fastdfs linux 安装包

fastdfs linux 安装包 (包含FastDFS_v5.05.tar,fastdfs-nginx-module_v1.16.tar,libfastcommon-master,nginx-1.8.0.tar)

2019-05-08

springboot 同步解耦 异步化

http://knight-black-bob.iteye.com/blog/2414350 springboot 同步解耦 异步化

2018-03-26

手写 dubbo

手写dubbo http://knight-black-bob.iteye.com/blog/2410677

2018-02-09

手写 tomcat nio

手写 tomcat nio http://knight-black-bob.iteye.com/blog/2408450

2018-01-22

手写 springmvc

java spring springmvc 手写 博客位置: http://knight-black-bob.iteye.com/blog/2407872

2018-01-16

jmeter 用例 案例

jmeter 用例 案例 http://knight-black-bob.iteye.com/blog/2401372 jmeter 用例 案例 http://knight-black-bob.iteye.com/blog/2401287 jmeter 用例 案例 http://knight-black-bob.iteye.com/blog/2401284

2017-11-30

json 格式化展示 编辑(第三方开源框架 FlexiJsonEditor)

json 格式化展示 编辑(第三方开源框架 FlexiJsonEditor) http://knight-black-bob.iteye.com/blog/2397407

2017-10-24

rabbit mq demo spring java

docker 安裝 rabbit mq  並測試 http://knight-black-bob.iteye.com/blog/2395713

2017-10-10

openfire_3_8_2.tar.gz xmpp openfire linux 安装 im 及时通讯服务器

xmpp openfire linux 安装 im 及时通讯服务器 http://knight-black-bob.iteye.com/blog/2395293

2017-10-03

protoc netty win 32 2.6.1

protoc netty win 32 2.6.1

2017-07-10

zookeeper windows 3.4.6

zookeeper 3.4.6 windows

2017-06-28

jad jd-gui java 源码查看 eclipse plugins jadclipse

jad jd-gui java 源码查看 eclipse plugins jadclipse

2017-06-21

jad jd-gui java 源码查看

jad jd-gui java 源码查看

2017-06-21

dubbo admin 下载

dubbo admin 下载

2017-06-16

ucdemo discuz ucenter api for java

discuz-ucenter-api-for-java discuz 单点登录 ucenter http://knight-black-bob.iteye.com/blog/2378199

2017-06-07

net-snmp-5.3.0.1.tar.gz

net-snmp-5.3.0.1.tar.gz 下载 python 安装 http://knight-black-bob.iteye.com/blog/2374975

2017-05-18

setuptools-0.6c11.tar.gz

setuptools-0.6c11.tar.gz 下载 http://knight-black-bob.iteye.com/blog/2374975

2017-05-18

jdk-8u131-linux-i586.gz

jdk 8u131 linux i586 gz jdk 8u131 linux i586 gz

2017-05-18

php 7.1.5 安装

php 7.1.5 安装

2017-05-16

libxml2 2.6.32 php 安装

libxml2 2.6.32 php 安装

2017-05-16

空空如也

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

TA关注的人

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