随笔分类 -  Guava缓存

摘要:https://blog.csdn.net/daocaokafei/article/details/117028198 阅读全文
posted @ 2021-05-31 14:27 弓呆的胖次 阅读(62) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u012175512/article/details/105070668 import com.google.common.collect.Sets; @Test public static void testSets() { Set<Integer> s 阅读全文
posted @ 2020-12-08 15:54 弓呆的胖次 阅读(676) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq360694660/article/details/82877222 @PostConstruct基本: @PostConstruct注解好多人以为是Spring提供的。其实是Java自己的注解。 Java中该注解的说明:@PostConstruct该 阅读全文
posted @ 2020-11-06 21:21 弓呆的胖次 阅读(140) 评论(0) 推荐(0)
摘要:https://bbs.csdn.net/topics/390203153 阅读全文
posted @ 2020-11-06 21:14 弓呆的胖次 阅读(189) 评论(0) 推荐(0)
摘要:import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.commo 阅读全文
posted @ 2020-11-06 20:43 弓呆的胖次 阅读(188) 评论(0) 推荐(0)
摘要:源码: public boolean tryAcquire(int permits, long timeout, TimeUnit unit) { long timeoutMicros = max(unit.toMicros(timeout), 0); checkPermits(permits); 阅读全文
posted @ 2020-09-22 15:57 弓呆的胖次 阅读(2624) 评论(0) 推荐(0)
摘要:/* * Copyright (C) 2012 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in co 阅读全文
posted @ 2020-09-22 15:55 弓呆的胖次 阅读(171) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/8f548e469bbe https://blog.csdn.net/forezp/article/details/100060686?utm_medium=distribute.pc_relevant_t0.none-task-blog-Blog 阅读全文
posted @ 2020-09-22 14:17 弓呆的胖次 阅读(129) 评论(0) 推荐(0)