上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: 1、逆熵 Cassandra数据库在分布式的架构上借鉴了Amazon的Dynamo,而在数据的存储模型上参考了Google的Bigtable,因而在数据一致性方面与Dynamo和Bigtable有着很深的联系,逆熵机制就是这种联系的一种体现。 逆熵与gossip协议一样也是基于传染病理论的算法,它主 阅读全文
posted @ 2016-07-04 20:51 薛晓东 阅读(3148) 评论(0) 推荐(0) 编辑
摘要: 类似于如下情况: Traceback (most recent call last): File "python_del_cassandra.py", line 21, in <module> d_time = K_devdata.execute(" select dtime from device 阅读全文
posted @ 2016-07-04 20:27 薛晓东 阅读(700) 评论(0) 推荐(0) 编辑
摘要: ERROR 04:18:00 Configuration exception merging remote schemaorg.apache.cassandra.exceptions.ConfigurationException: Column family ID mismatch (found 2 阅读全文
posted @ 2016-07-04 19:35 薛晓东 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: io.netty.handler.codec.ByteToMessageDecoder ChannelInboundHandlerAdapter which decodes bytes in a stream-like fashion from one ByteBuf to an other Mes 阅读全文
posted @ 2016-07-04 14:22 薛晓东 阅读(1132) 评论(0) 推荐(1) 编辑
摘要: 1Byte = 8Bit 一字节等于8位 1KB=1024Byte= 2^10 Byte; 阅读全文
posted @ 2016-07-04 11:32 薛晓东 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Executors private ExecutorService proThreadPool = Executors.newFixedThreadPool(50); 线程池,就是在调用线程的时候初使化一定数量的线程,有线程过来的时候,先检测初使化的线程还有空的没有,没有就再看当前运行中的线程数是不 阅读全文
posted @ 2016-07-02 19:28 薛晓东 阅读(4839) 评论(0) 推荐(0) 编辑
摘要: 一:newCachedThreadPool (1)缓存型池子,先查看池中有没有以前建立的线程,如果有,就reuse,如果没有,就建立一个新的线程加入池中; (2)缓存型池子,通常用于执行一些生存周期很短的异步型任务;因此一些面向连接的daemon型server中用得不多; (3)能reuse的线程, 阅读全文
posted @ 2016-07-02 19:02 薛晓东 阅读(1629) 评论(0) 推荐(0) 编辑
摘要: java.util.concurrent.Executors Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory, and Callable classe 阅读全文
posted @ 2016-07-02 17:57 薛晓东 阅读(302) 评论(0) 推荐(0) 编辑
摘要: void java.util.concurrent.Executor.execute(Runnable command) execute void execute(Runnable command) Executes the given command at some time in the fut 阅读全文
posted @ 2016-07-02 15:56 薛晓东 阅读(2478) 评论(0) 推荐(0) 编辑
摘要: java.util.concurrent.ExecutorService An Executor that provides methods to manage termination and methods that can produce a Future for tracking progre 阅读全文
posted @ 2016-07-02 15:42 薛晓东 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页