- 博客(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 292
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 492
springboot docker jenkins 部署 对比 tomcat
下载demo springboot 详解 (二) crud 下载demo springboot 详解 (三) 多数据源 下载demo springboot 详解 (四)redis & filter
2018-06-26 18:58:53 550
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 203
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 933
(在线等。。。)这是出现死锁了吗 ?
.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 359
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 450
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 986
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 143
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 607
手写 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 384
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 475
手写 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 159
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 165
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 574
okhttp 使用 post
dency><dependency><groupId>com.squareup.okio</groupId><artifactId>okio</artifactId><version>1.7.0</version></dependency>
2018-02-05 17:04:42 160
原创 异常解决[ 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 267
原创 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 100
原创 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<
2018-01-26 09:42:11 102
原创 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 87
原创 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 103
原创 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 88
原创 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 89
遍历 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 176
手写 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 165
手写 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 115
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 133
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 392
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 228
pywin32-220.win-amd64-py2.7.exe
2017-05-15
python 2.7.9 64 windows
2017-05-15
推送sdk (类似百度 推送 ) android mina (待优化... )
2017-04-24
QQ 实战 客户端 android stdio
2017-04-22
多module pom项目 构建 maven
2017-03-28
libfastcommon
2017-03-13
mybatis generator 自动生成 dao mapping object
2017-03-08
jetty maven pom run
2017-03-07
python django firstweb
2017-02-21
springcloud hystrix 断路由
2017-02-21
springcloud bus rabbitmq 分布式队列
2017-02-21
springcloud zuul gateway 服务网关
2017-02-21
springcloud computeservice 服务提供者
2017-02-21
fastdfs linux 安装包
2019-05-08
手写 springmvc
2018-01-16
jmeter 用例 案例
2017-11-30
json 格式化展示 编辑(第三方开源框架 FlexiJsonEditor)
2017-10-24
rabbit mq demo spring java
2017-10-10
openfire_3_8_2.tar.gz xmpp openfire linux 安装 im 及时通讯服务器
2017-10-03
jad jd-gui java 源码查看 eclipse plugins jadclipse
2017-06-21
ucdemo discuz ucenter api for java
2017-06-07
net-snmp-5.3.0.1.tar.gz
2017-05-18
setuptools-0.6c11.tar.gz
2017-05-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人