com.groupbyinc.flux.common.util.PageCacheRecycler.class Maven / Gradle / Ivy
???? 4 1com/groupbyinc/flux/common/util/PageCacheRecycler 6com/groupbyinc/flux/common/component/AbstractComponent +com/groupbyinc/flux/common/lease/Releasable PageCacheRecycler.java 6com/groupbyinc/flux/common/util/PageCacheRecycler$Type Type 3com/groupbyinc/flux/common/util/PageCacheRecycler$4 3com/groupbyinc/flux/common/util/PageCacheRecycler$3
3com/groupbyinc/flux/common/util/PageCacheRecycler$2 3com/groupbyinc/flux/common/util/PageCacheRecycler$1 .com/groupbyinc/flux/common/recycler/Recycler$V ,com/groupbyinc/flux/common/recycler/Recycler V .com/groupbyinc/flux/common/recycler/Recycler$C C 4com/groupbyinc/flux/common/settings/Setting$Property +com/groupbyinc/flux/common/settings/Setting Property %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles " Lookup TYPE_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; gLcom/groupbyinc/flux/common/settings/Setting; LIMIT_HEAP_SETTING ^Lcom/groupbyinc/flux/common/settings/Setting; WEIGHT_BYTES_SETTING ALcom/groupbyinc/flux/common/settings/Setting; WEIGHT_LONG_SETTING WEIGHT_INT_SETTING WEIGHT_OBJECTS_SETTING bytePage .Lcom/groupbyinc/flux/common/recycler/Recycler; 2Lcom/groupbyinc/flux/common/recycler/Recycler<[B>; intPage 2Lcom/groupbyinc/flux/common/recycler/Recycler<[I>; longPage 2Lcom/groupbyinc/flux/common/recycler/Recycler<[J>;
objectPage CLcom/groupbyinc/flux/common/recycler/Recycler<[Ljava/lang/Object;>; $assertionsDisabled Z close ()V / 0 < 2 0 > 4 0 @ 6 0 B ,com/groupbyinc/flux/common/lease/Releasables D 2(Z[Lcom/groupbyinc/flux/common/lease/Releasable;)V : F
E G this 3Lcom/groupbyinc/flux/common/util/PageCacheRecycler; 1(Lcom/groupbyinc/flux/common/settings/Settings;)V K L
M % & O get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; Q R
S ( & U -com/groupbyinc/flux/common/unit/ByteSizeValue W getBytes ()J Y Z
X [ 6com/groupbyinc/flux/common/util/concurrent/EsExecutors ] numberOfProcessors 1(Lcom/groupbyinc/flux/common/settings/Settings;)I _ `
^ a * & c java/lang/Double e doubleValue ()D g h
f i - & k , & m . & o ??? @ java/lang/Math u min (JJ)J w x
v y 6(Lcom/groupbyinc/flux/common/util/PageCacheRecycler;)V K {
| build ?(Lcom/groupbyinc/flux/common/util/PageCacheRecycler$Type;IILcom/groupbyinc/flux/common/recycler/Recycler$C;)Lcom/groupbyinc/flux/common/recycler/Recycler; ~
?
|
|
| 8 9 ? java/lang/AssertionError ? K ;
? ? ,com/groupbyinc/flux/common/settings/Settings ? settings .Lcom/groupbyinc/flux/common/settings/Settings; type 8Lcom/groupbyinc/flux/common/util/PageCacheRecycler$Type; limit J availableProcessors I bytesWeight D
intsWeight longsWeight
objectsWeight totalWeight maxPageCount maxBytePageCount maxIntPageCount maxLongPageCount maxObjectPageCount 3(Z)Lcom/groupbyinc/flux/common/recycler/Recycler$V; obtain 2()Lcom/groupbyinc/flux/common/recycler/Recycler$V; ? ? ?
isRecycled ()Z ? ? ? v ()Ljava/lang/Object; ? ? ? [B ? java/util/Arrays ? fill ([BB)V ? ?
? ? clear 4Lcom/groupbyinc/flux/common/recycler/Recycler$V<[B>; 0Lcom/groupbyinc/flux/common/recycler/Recycler$V; [I ? ([II)V ? ?
? ? 4Lcom/groupbyinc/flux/common/recycler/Recycler$V<[I>; [J ? ([JJ)V ? ?
? ? 4Lcom/groupbyinc/flux/common/recycler/Recycler$V<[J>; -com/groupbyinc/flux/common/recycler/Recyclers ? none `(Lcom/groupbyinc/flux/common/recycler/Recycler$C;)Lcom/groupbyinc/flux/common/recycler/Recycler; ? ?
? ? b(Lcom/groupbyinc/flux/common/recycler/Recycler$C;II)Lcom/groupbyinc/flux/common/recycler/Recycler; ~ ?
? recycler 3Lcom/groupbyinc/flux/common/recycler/Recycler; c 5Lcom/groupbyinc/flux/common/recycler/Recycler$C; 0Lcom/groupbyinc/flux/common/recycler/Recycler$C; java/lang/Class ? desiredAssertionStatus ? ?
? ? cache.recycler.page.type ?
CONCURRENT ? ? ? name ()Ljava/lang/String; ? ?
? "java/lang/invoke/LambdaMetafactory ? 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; ? ?
? ? ? &(Ljava/lang/Object;)Ljava/lang/Object; ? parse L(Ljava/lang/String;)Lcom/groupbyinc/flux/common/util/PageCacheRecycler$Type; ? ?
? ? ? apply ()Ljava/util/function/Function; ? ? ? NodeScope 6Lcom/groupbyinc/flux/common/settings/Setting$Property; ? ? ? {(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V K ?
? cache.recycler.page.limit.heap ? 10% ? memorySizeSetting ?(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; ?
cache.recycler.page.weight.bytes
doubleSetting z(Ljava/lang/String;DD[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;
cache.recycler.page.weight.longs cache.recycler.page.weight.ints "cache.recycler.page.weight.objects
???????? Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable 7(Z)Lcom/groupbyinc/flux/common/recycler/Recycler$V<[B>; 7(Z)Lcom/groupbyinc/flux/common/recycler/Recycler$V<[I>; 7(Z)Lcom/groupbyinc/flux/common/recycler/Recycler$V<[J>; G()Lcom/groupbyinc/flux/common/recycler/Recycler$V<[Ljava/lang/Object;>; ?(Lcom/groupbyinc/flux/common/util/PageCacheRecycler$Type;IILcom/groupbyinc/flux/common/recycler/Recycler$C;)Lcom/groupbyinc/flux/common/recycler/Recycler; BootstrapMethods
SourceFile InnerClasses ! % &