Preface: CEPH: THE FUTURE OF STORAGE(未来存储)Ceph was made possible by a global community of passionate storage engineers and researchers(存储工程师及研究员);Cep....
分类:
其他好文 时间:
2014-11-24 22:21:43
阅读次数:
261
1、首先来看一段使用示例
ExecutorService recmdService = Executors. newFixedThreadPool(1);
Future> recmdFuture = recmdService.submit( new Callable>()
{
@Override
publi...
分类:
其他好文 时间:
2014-11-23 16:05:29
阅读次数:
250
Guava为Java并行编程Future提供了很多有用扩展,其主要接口为ListenableFuture,并借助于Futures静态扩展。继承至Future的ListenableFuture,允许我们添加回调函数在线程运算完成时返回值或者方法执行完成立即返回。对ListenableFuture添加回...
分类:
其他好文 时间:
2014-11-21 21:44:03
阅读次数:
179
1.A yield curve can be built using deposit rates, swap rates, and future/forward rates2.A par-coupon rate is the yield to maturity of a coupon-paying ...
分类:
其他好文 时间:
2014-11-20 07:55:42
阅读次数:
232
总结的他人的Python的学习笔记:1. 输出重定向到日志文件:f= open("logfilename","a")print >> a," 输出的内容,主要要有前面的重定向号>>"f.close() #注意关闭资源2. 使用from __future__ import division ,使用新功...
分类:
编程语言 时间:
2014-11-19 07:27:09
阅读次数:
190
Nginx安装时Warning: File `src/core/nginx.h' has modification time 1.2e+07 s in the future问题的解决方法问题场景:解压文件:tar -zxvf nginx-1.7.4.tar.gz nginx-1.7.4/
nginx-1.7.4/auto/
nginx-1.7.4/conf/
tar: nginx-1.7.4/au...
分类:
其他好文 时间:
2014-11-19 01:44:15
阅读次数:
215
import?java.util.ArrayList;
import?java.util.List;
import?java.util.concurrent.Callable;
import?java.util.concurrent.ExecutionException;
import?java.util.concurrent.Future;
import?java.util.c...
分类:
编程语言 时间:
2014-11-18 13:37:00
阅读次数:
354
[Warning] '--log_slow_queries' is deprecated and will be removed in a future release. Please use ''--slow_query_log'/'--slow_query_log_file'' instead....
分类:
数据库 时间:
2014-11-17 19:14:54
阅读次数:
286
Callable、Future 简单应用 在Java5之前,线程是没有返回值的,常常为了“有”返回值,破费周折,而且代码很不好写。或者干脆绕过这道坎,走别的路了。现在Java终于有可返回值的任务(也可以叫做线程)了。可返回值的任务必须实现Callable接口,类似的,无返回值的任务必须Runnabl...
分类:
其他好文 时间:
2014-11-17 19:13:32
阅读次数:
234
由于未找到原作者出处,只能说从这个博客上学习了:转自http://blog.csdn.net/liuyuehui110/article/details/7249307原因分析:Python 导入模块有两种方式:import modulefrom module import *区别是前者导入的模块使用...
分类:
其他好文 时间:
2014-11-14 22:46:32
阅读次数:
179