Package com.netflix.hystrix.contrib.javanica.annotation

Examples of com.netflix.hystrix.contrib.javanica.annotation.HystrixCollapser


        Method method = getMethodFromTarget(joinPoint);
        Object obj = joinPoint.getTarget();
        Object[] args = joinPoint.getArgs();
        Validate.notNull(method, "failed to get method from joinPoint: %s", joinPoint);
        HystrixCommand hystrixCommand = method.getAnnotation(HystrixCommand.class);
        HystrixCollapser hystrixCollapser = method.getAnnotation(HystrixCollapser.class);
        ExecutionType executionType = ExecutionType.getExecutionType(method.getReturnType());
        Method cacheKeyMethod = getMethodFromTarget(joinPoint, hystrixCommand.cacheKeyMethod());
        MetaHolder metaHolder = MetaHolder.builder()
                .args(args).method(method).obj(obj).proxyObj(joinPoint.getThis())
                .cacheKeyMethod(cacheKeyMethod).executionType(executionType)
View Full Code Here

TOP

Related Classes of com.netflix.hystrix.contrib.javanica.annotation.HystrixCollapser

Copyright © 2018 www.massapicom. 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.