mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Change] LocalHashCacheStore 调整内部类CacheObject的访问权;
This commit is contained in:
parent
51efc95c1c
commit
62e3affef1
@ -158,7 +158,7 @@ public class LocalHashCacheStore<T> implements CacheStore<T>, Cleanable {
|
|||||||
expireKeySet.forEach(cache::remove);
|
expireKeySet.forEach(cache::remove);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class CacheObject<T> implements Comparable<CacheObject<T>> {
|
private static class CacheObject<T> implements Comparable<CacheObject<T>> {
|
||||||
|
|
||||||
private final AtomicReference<T> value;
|
private final AtomicReference<T> value;
|
||||||
private final AtomicReference<Date> expire;
|
private final AtomicReference<Date> expire;
|
||||||
|
Loading…
Reference in New Issue
Block a user