com.groupbyinc.flux.common.cache.Cache$CacheSegment.class Maven / Gradle / Ivy
???? 4 ? 3com/groupbyinc/flux/common/cache/Cache$CacheSegment <Ljava/lang/Object; java/lang/Object
Cache.java &com/groupbyinc/flux/common/cache/Cache CacheSegment @com/groupbyinc/flux/common/cache/Cache$CacheSegment$SegmentStats
SegmentStats ,com/groupbyinc/flux/common/cache/Cache$Entry
Entry (com/groupbyinc/flux/common/cache/Cache$1 %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup segmentLock *Ljava/util/concurrent/locks/ReadWriteLock; readLock ;Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock; writeLock map Ljava/util/Map; tLjava/util/Map;>;>; segmentStats BLcom/groupbyinc/flux/common/cache/Cache$CacheSegment$SegmentStats; $assertionsDisabled Z ()V # $
% 1java/util/concurrent/locks/ReentrantReadWriteLock '
( % * 9com/groupbyinc/flux/common/util/concurrent/ReleasableLock , (java/util/concurrent/locks/ReadWriteLock . #()Ljava/util/concurrent/locks/Lock; 0 / 1 $(Ljava/util/concurrent/locks/Lock;)V # 3
- 4 6 0 / 8 : java/util/HashMap <
= % ? -(Lcom/groupbyinc/flux/common/cache/Cache$1;)V # A
B D this =Lcom/groupbyinc/flux/common/cache/Cache$CacheSegment; 5Lcom/groupbyinc/flux/common/cache/Cache$CacheSegment; get ~(Ljava/lang/Object;JLjava/util/function/Predicate;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/common/cache/Cache$Entry; java/lang/Throwable K 'java/util/concurrent/ExecutionException M java/lang/InterruptedException O acquire =()Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock; Q R
- S
java/util/Map U &(Ljava/lang/Object;)Ljava/lang/Object; I W V X &java/util/concurrent/CompletableFuture Z close \ $
- ] java/util/function/Predicate _ java/util/function/Consumer a
addSuppressed (Ljava/lang/Throwable;)V c d
L e "java/lang/invoke/LambdaMetafactory g metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; i j
h k l 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; n lambda$get$0 ?(Ljava/util/function/Predicate;JLjava/util/function/Consumer;Lcom/groupbyinc/flux/common/cache/Cache$Entry;Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/cache/Cache$Entry; p q
r s s(Lcom/groupbyinc/flux/common/cache/Cache$Entry;Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/cache/Cache$Entry; u apply ?(Lcom/groupbyinc/flux/common/cache/Cache$CacheSegment;Ljava/util/function/Predicate;JLjava/util/function/Consumer;)Ljava/util/function/BiFunction; w x y handle I(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture; { |
[ } ()Ljava/lang/Object; I
[ ? java/lang/Exception ? java/lang/IllegalStateException ? # d
? ? miss ? $
? future `Ljava/util/concurrent/CompletableFuture;>; (Ljava/util/concurrent/CompletableFuture; ignored e Ljava/lang/Exception; key TK; Ljava/lang/Object; now J isExpired VLjava/util/function/Predicate;>; Ljava/util/function/Predicate; onExpiration ULjava/util/function/Consumer;>; Ljava/util/function/Consumer; entry 6Lcom/groupbyinc/flux/common/cache/Cache$Entry; .Lcom/groupbyinc/flux/common/cache/Cache$Entry; put Q(Ljava/lang/Object;Ljava/lang/Object;J)Lcom/groupbyinc/flux/common/collect/Tuple; ((Ljava/lang/Object;Ljava/lang/Object;J)V # ?
? completedFuture <(Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture; ? ?
[ ? ? n V ? lambda$put$1 ? u
? ? !()Ljava/util/function/BiFunction; w ? ? (com/groupbyinc/flux/common/collect/Tuple ? tuple P(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/collect/Tuple; ? ?
? ? value TV; existing remove B(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/cache/Cache$Entry; ? W V ? lambda$remove$2 ? u
? ? V(Lcom/groupbyinc/flux/common/cache/Cache$CacheSegment;)Ljava/util/function/BiFunction; w ? ? eviction ? $
? ok ex Ljava/lang/Throwable; test (Ljava/lang/Object;)Z ? ? ` ? hit ? $
?
accessTime ? ? ? ! " ? java/lang/AssertionError ?
? % accept (Ljava/lang/Object;)V ? ? b ?
% x0 *Lcom/groupbyinc/flux/common/cache/Cache$1; java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ?(TK;JLjava/util/function/Predicate;>;Ljava/util/function/Consumer;>;)Lcom/groupbyinc/flux/common/cache/Cache$Entry; ?(TK;TV;J)Lcom/groupbyinc/flux/common/collect/Tuple;Lcom/groupbyinc/flux/common/cache/Cache$Entry;>; ;(TK;)Lcom/groupbyinc/flux/common/cache/Cache$Entry; BootstrapMethods
SourceFile InnerClasses ? ! " # $ ? ? O*? &*? (Y? )? +*? -Y*? +? 2 ? 5? 7*? -Y*? +? 9 ? 5? ;*? =Y? >? @*? Y? C? E? ? O F H ? O F G ? ? ? ? # ? 7 ? B ? I J ? ?
?:*? 7? T::*? @+? Y ? [: ? U? ? ^? H:
? f? <? ^? 4:
:
?:? !? ? ^? :? f? ? ^? ? * * ? z ? ~? ?? :? :? ?Y? ??*? E? ?? ( - 0 L D L M Y ^ a L D O M z ? ? N z ? ? P ? f
&