上一页 1 ··· 133 134 135 136 137 138 139 140 141 ··· 234 下一页
摘要: 原文地址:https://spotify.github.io/snakebite/hadoop_rpc.htmlSnakebite currently implements the following protocol insnakebite.channel.SocketRpcChannelto c... 阅读全文
posted @ 2015-08-31 19:24 一天不进步,就是退步 阅读(488) 评论(0) 推荐(0)
摘要: 1. hdfs定义HDFS is the primary distributed storage used by Hadoop applications. A HDFS cluster primarily consists of a NameNode that manages the file sy... 阅读全文
posted @ 2015-08-31 16:45 一天不进步,就是退步 阅读(3447) 评论(0) 推荐(0)
摘要: 读文件http://www.baeldung.com/java-read-fileJava – Read from File1. OverviewIn this tutorial we’ll explore different ways toread from a File in Java; we’... 阅读全文
posted @ 2015-08-28 16:40 一天不进步,就是退步 阅读(542) 评论(0) 推荐(0)
摘要: 原文地址:http://www.baeldung.com/java-read-lines-large-file1. OverviewThis tutorial will showhow to read all the lines from a large file in Javain an effi... 阅读全文
posted @ 2015-08-28 15:43 一天不进步,就是退步 阅读(621) 评论(0) 推荐(0)
摘要: 1. 从请求中获取MultipartFile @RequestMapping(value="/upload", method=RequestMethod.POST) public @ResponseBody String handleFileUpload( @Re... 阅读全文
posted @ 2015-08-28 15:30 一天不进步,就是退步 阅读(1796) 评论(0) 推荐(1)
摘要: 原文地址:http://xixinfei.iteye.com/blog/2002017含义 ENCTYPE="multipart/form-data" 说明:通过 http 协议上传文件 rfc1867协议概述,jsp 应用举例,客户端发送内容构造1、概述在最初的 http 协议中,没有上传文件方面... 阅读全文
posted @ 2015-08-27 13:10 一天不进步,就是退步 阅读(14079) 评论(0) 推荐(1)
摘要: 原文地址:http://winterbe.com/posts/2014/07/31/java8-stream-tutorial-examples/This example-driven tutorial gives an in-depth overview about Java 8 streams.... 阅读全文
posted @ 2015-08-26 15:29 一天不进步,就是退步 阅读(1854) 评论(1) 推荐(0)
摘要: 上文solr源码分析之数据导入DataImporter追溯中提到了solr的工作流程,其核心是各种handler。handler定义了各种search Component, @Override public void handleRequestBody(SolrQueryRequest req,... 阅读全文
posted @ 2015-08-25 19:10 一天不进步,就是退步 阅读(1441) 评论(0) 推荐(0)
摘要: 原文地址:http://www.javaworld.com/article/2078654/java-se/java-se-five-ways-to-maximize-java-nio-and-nio-2.htmlJava NIO -- the New Input/Output API packag... 阅读全文
posted @ 2015-08-25 17:38 一天不进步,就是退步 阅读(389) 评论(0) 推荐(0)
摘要: 若要搜索的信息都是被存储在数据库里面的,但是solr不能直接搜数据库,所以只有借助Solr组件将要搜索的信息在搜索服务器上进行索引,然后在客户端供客户使用。1. SolrDispatchFilterSolrDispatchFilter的作用:将请求的url映射到定义在solrconfig.xml... 阅读全文
posted @ 2015-08-24 15:55 一天不进步,就是退步 阅读(2441) 评论(0) 推荐(0)
上一页 1 ··· 133 134 135 136 137 138 139 140 141 ··· 234 下一页