自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

手写 基础 数据库连接池

r;import java.sql.DriverManager;import java.sql.SQLException;import java.sql.Statement;import java.util.Iterator;import java.util.Vector;public class MyCustomisedPool { /** * <pre> * jdbcDriver = "com.mysql.

2018-11-19 17:55:00 233

windows redis sentinel install

2018-09-14 18:01:47 195

hexo 搭建 自己的博客系统(hexo, github,maupassant)

hexo 搭建Jul 17, 2018 | linux文章目录1. 准备工作1.1. 安装 node1.2. 安装 git1.3. 安装 python2. 安装 hexo2.1. 安装hexo本地2.2. 安装hexo 发步到github准备工作123安装 node安装 git安装 python安装 node去逛网下载 node-v6.11.2-x64.msi,或者去cs

2018-07-17 14:54:43 412

springboot docker jenkins 部署 对比 tomcat

          下载demo          springboot 详解 (二) crud                                             下载demo     springboot 详解 (三) 多数据源                                        下载demo      springboot 详解 (四)redis & filter                                

2018-06-26 18:58:53 521

原创 常用正则表达式

2018-06-22 16:04:04 113

特定用户部署 tomcat

2018-05-23 16:45:26 134

git push 100m error

(215/215), 43.86 MiB | 2.52 MiB/s, done.Total 215 (delta 92), reused 0 (delta 0)remote: Resolving deltas: 100% (92/92), completed with 44 local objects.remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://

2018-05-15 18:54:27 163

The VMware Authorization Service is not running.

2018-05-15 18:52:15 144

851001: PFXFile encoding decoding failure(Maven编译后证书 变小)

ion: java.io.IOException: invalid characters encountered in base64 data: 63 编译后,证书文件大小从1942 到1939 解决方法:修改mvn resources 的 plugins maven-resources-plugin加上 pfx cer 过滤 ,加上nonFilteredFileExtensions<!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3s

2018-05-15 18:48:48 866

(在线等。。。)这是出现死锁了吗 ?

.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(Buffe

2018-04-25 13:41:31 326

jvm memcache 问题(求助)

tid=0x000000001c07f000 nid=0x2b3c waiting on condition [0x000000003d0be000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x0000000081e09ef0> (a java.util.concurrent.Syn

2018-04-24 18:03:48 399

hibernate 报错 SQL Error: 1062, SQLState: 23000

ask : ===================== scheduled ====================2018-04-12 10:50:35.164 INFO 10708 --- [cTaskExecutor-5] s.s.govZone.linstener.EventListener : ========================showandshare.spider.govZone.event.CityEvent[source=showandshare.sp

2018-04-12 13:56:10 917

最小栈 三种实现(面试...)

2018-04-02 12:47:15 181

springboot 同步解耦 异步化

2018-03-23 11:38:22 463

mongodb windows install

h D:\soft\MongoDB\data\log\mongodb.log --logappend --dbpath D:\soft\MongoDB\data\db --directoryperdb --serviceName MongoDB -install  出现 就算成功了2018-03-21T14:27:57.734+0800 I CONTROL [main] Trying to install Windows service 'MongoDB'2018-03-21T14:2

2018-03-21 15:02:33 124

java 代码混淆 proguard exception

owandshare\showandshare\showandshare.gateway\showandshare.gateway.netty.dispacther\target\classes, F:\repository\repository\org\springframework\boot\spring-boot-starter-web\1.5.8.RELEASE\spring-boot-starter-web-1.5.8.RELEASE.jar, F:\repository\repository\o

2018-03-12 15:04:57 550

手写 reactor( netty reactor 模型)

SocketChannel; public Dispacther() throws IOException { selector=Selector.open(); serverSocketChannel=ServerSocketChannel.open(); InetSocketAddress inetSocketAddress=new InetSocketAddress(this.host,this.port); server

2018-03-04 01:16:15 345

NoSuchMethodError: javax.servlet.ServletContext.getVirtualServerName()Ljava/lang

verName  17:39:20.040 - A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost [localhost].StandardContext[]] at

2018-03-03 18:38:51 364

八皇后算法 回溯 递归 java

2018-03-02 11:28:31 163

手写 dubbo

onstructor   referpublic class SocketConsumer implements RpcRefer { @Override public <T> T refer(Class<T> interfaceClass, String host, int port) { return (T) Proxy.newProxyInstance(interfaceClass.getCla

2018-02-09 17:17:54 141

dobbo admin 2.5 与 1.8 不兼容

for application context [com.alibaba.citrus.webx.context.WebxComponentsContext@268e369f]: com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@2047cfe2 INFO config.PropertyPlaceholderConfigurer - Loading properties file from Resour

2018-02-07 18:18:53 145

dubbo java 发布订阅(非spring配置)

w RegistryConfig("localhost:2181"); reg.setProtocol("zookeeper"); ProtocolConfig protocol = new ProtocolConfig(); protocol.setName("dubbo"); protocol.setPort(20880);

2018-02-05 17:09:30 532

okhttp 使用 post

dency><dependency><groupId>com.squareup.okio</groupId><artifactId>okio</artifactId><version>1.7.0</version></dependency>  

2018-02-05 17:04:42 144

原创 异常解决[ asm ClassReader failed to parse class file]

rkplace\DubboDemo\target\classes\com\baoy\base\dao\JdbcTempBaseDao.class], file [D:\cache\eclipse4mvn-workplace\DubboDemo\target\classes\com\baoy\bean\User.class], file [D:\cache\eclipse4mvn-workplace\DubboDemo\target\classes\com\baoy\dao\impl\UserDaoImpl$

2018-02-02 11:10:03 218

动态加载 dubbo spring

2018-02-02 11:00:01 351

原创 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 77

原创 join

2018-01-26 09:42:32 86

原创 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 84

原创 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 71

原创 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 89

原创 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 74

原创 Semaphore

2018-01-25 17:46:22 117

原创 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 75

遍历 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 159

手写 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 142

手写 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 82

hibernate exception (cannot simultaneously fetch multiple bags)

der.entity.EntityLoader.<init>(EntityLoader.java:119) at org.hibernate.loader.entity.EntityLoader.<init>(EntityLoader.java:71) at org.hibernate.loader.entity.EntityLoader.<init>(EntityLoader.java:54) at org.h

2017-12-28 15:07:28 90

springboot,hibernate,exception no session 问题解决

ication_is_service as applicat3_0_, applicatio0_.application_key as applicat4_0_, applicatio0_.application_name as applicat5_0_, applicatio0_.application_secret as applicat6_0_, applicatio0_.application_type as applicat7_0_, applicatio0_.developer_id as de

2017-12-25 18:38:11 350

tomcat 配置 logstash 日志收集

log4j.appender.logstash.RemoteHost=logstash1.baoyou.comlog4j.appender.logstash.ReconnectionDelay=60000log4j.appender.logstash.LocationInfo=truelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.P

2017-12-13 14:08:10 210

压测 httpclient 报 Cannot assign requested address

2017-12-08 11:54:18 723

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关注的人

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