Examples of AsyncLoadResult


Examples of com.alibaba.asyncload.impl.AsyncLoadResult

                public AsyncLoadConfig getConfig() {
                    return copy;
                }
            });
            // 够造一个返回的AsyncLoadResult
            AsyncLoadResult result = new AsyncLoadResult(returnClass, future, config.getDefaultTimeout());
            // 继续返回一个代理对象
            R asyncProxy = (R) result.getProxy();
            // 添加到barrier中
            if (config.getNeedBarrierSupport()) {
                AsyncLoadBarrier.addTask((AsyncLoadObject) asyncProxy);
            }
            // 返回对象
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.