- 博客(17)
- 资源 (1)
- 收藏
- 关注
原创 Reactive Programming with RxJava-Chapter(9):Future Directions
Why a version2?Reactive StreamsObservable and FlowablePerformance
2017-03-29 10:03:54 334
原创 Reactive Programming with Rxjava-Chapter7:Testing and Troubleshooting(2)
Unit TestingMonitoring and Debugging doOn...() Callbacks Measuring and Monitoring
2017-03-29 09:39:38 287
原创 Reactive Programming with RxJava-Chapter7:Test and Troubleshooting(1)
Error HandlingWhere Are My Exceptions?Declarative try-catch ReplacementTiming Out When Events Do Not OccurRetrying After Failures
2017-03-26 21:45:26 352
原创 Reactive Programming with RxJava-Chapter6:Flow Control and Backpressure(2)
BackpressureBackpressure in RxJavaBuilt-in BackpressureProducers and Missing BackpressureHonoring the Requested Amount of Data
2017-03-22 09:50:41 380
原创 Reactive Programming with Rxjava-Chapter6:Flow Control and Backpressure(1)
Flow ControlTaking Periodic Samples and ThrottlingBuffering Events to a ListMoving windowSkipping Stale Events by Using debounce()
2017-03-19 11:02:37 728
原创 Reactive Programming with RxJava-Chapter5:Reactive from Top to Bottom(2)
Relational Database AccessCompletableFuture and StreamsObservable versus Single
2017-03-16 20:37:25 321
原创 Reactive Programming with RxJava-Chapter5:Reactive from Top to Bottom(1)
Beating the C10k ProblemTraditional Thread-Based HTTP ServersNonblocking HTTP Server with Netty and RxNettyReactive HTTP Servers TourNonblocking HTTP Client with RxNetty
2017-03-11 20:46:23 284
原创 Reactive Programming with RxJava-Chapter4:Applying Reactive Programming to Existing Application(2)
Replacing Callbacks with StreamsPolling Periodically for ChangesMultithreading in RxJava
2017-03-07 23:07:16 262
原创 Reactive Programming with RxJava-Chapter4:Applying Reactive Programming to Existing Application(1)
From Collections to ObservablesBlockingObservable:Exiting the Reactive WorldEmbracing LazinessComposing ObservablesImperative ConcurrencyflatMap() as Asynchronous Chaining Operator
2017-03-03 09:53:38 436
原创 Reactive Programming with RxJava-Chapter3:Operators and Transformations(3)
Slicing and Dicing Using skip(),takeWhile(),and Others.Writing Customer Operators
2017-02-28 17:33:09 624
原创 Reactive Programming with RxJava-Chapter3:Operators and Transformations(2)
merge(),zip(),zipWith(),combineLatest(),withLastFrom(),amb(),collect().reduce(),scan(),distinct()
2017-02-26 17:19:12 813
原创 Reactive Programming with RxJava-Chapter3:Operators and Transformations(1)
Core Operators:Mapping and FilteringIn RxJava,you must forget about mutating data structures internally:modifying variables outside of stream is considered very nonidiomatic and dangerous1、filte
2017-02-23 21:45:53 462
原创 Reactive Programming with RxJava-Chapter2:Reactive Extensions
Anatomy of rx.ObservableIndeed,Observablecan actually produce three types of events:Values of type T,as declared by ObservableCompletion eventError eventSubscribing to Notifications from Observable
2017-02-22 13:12:58 403
原创 Reactive Programming with RxJava-Chapter1:Reactive Programming with RxJava
RxJava is a specific implement of reactive programming for Java and Android that is influenced by functional programming.
2017-02-21 13:21:15 403
原创 关于程序可伸缩性问题的讨论
可伸缩性指的是一个应用程序在工作负载和可用处理资源增加时其吞吐量的表现情况。一个可伸缩的程序能够通过使用更多的处理器、内存或者I/O带宽来相应地处理更大的工作负载。锁住某个共享的资源以获得独占式的访问这种做法会形成可伸缩性瓶颈——它使其他线程不能访问那个资源,即使有空闲的处理器可以调用那些线程也无济于事。为了取得可伸缩性,我们必须消除或者减少我们对独占式资源锁的依赖。
2015-07-20 13:33:19 2021
原创 Java 内存分配、对象生命周期与垃圾回收
虚拟器规范中的7个内存区域分别是三个线程私有的和四个线程共享的内存区,线程私有的内存区域与线程具有相同的生命周期,它们分别是: 指令计数器、 线程栈和本地线程栈,共享区是所有线程共享的,在JVM启动时就会分配,分别是:方法区、 常量池、直接内存区和堆。Java的内存回收必须解决两问题:那些对象需要回收、怎么回收。回收判定算法,当前的大部分虚拟机采用的判定策略为:根搜索算法回收算法:分代回收
2015-06-28 11:10:50 858
原创 ThreadLocal原理及使用场合
ThreadLocal类在Spring,Hibernate等框架中起到了很大的作用,所以对它的原理分析是非常重要的。ThreadLocal最适合的应用场合应该是按线程多实例(每个线程对应一个实例)的对象的访问。
2015-06-18 21:20:22 861
android考试系统 源码
2015-08-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人