01 2021 档案
Java spring aop Around
摘要:package com.hh.aop;import org.aspectj.lang.ProceedingJoinPoint;import org.aspectj.lang.annotation.Around;import org.aspectj.lang.annotation.Aspect;imp 阅读全文
posted @ 2021-01-13 20:42 王洪洪 阅读(361) 评论(0) 推荐(0)
Java 输出本地方法metho
摘要:@Aspect @Component @Slf4j public class ServiceExceptionAspect { @Around("execution(* com.sankuai.groceryauth.auth.poiquery.service.thrift..*.*(..)) || 阅读全文
posted @ 2021-01-09 10:50 王洪洪 阅读(207) 评论(0) 推荐(0)
guava local本地缓存
摘要:package com.hh; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import java.util.concurrent.Callable; import java.u 阅读全文
posted @ 2021-01-09 08:06 王洪洪 阅读(332) 评论(0) 推荐(0)
java引用型赋值
摘要:package com.hh; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Test03 { public static void main(String[ 阅读全文
posted @ 2021-01-06 19:05 王洪洪 阅读(323) 评论(0) 推荐(0)