All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.engine.LiveVersionMap.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?/com/groupbyinc/flux/index/engine/LiveVersionMapjava/lang/ObjectPcom/groupbyinc/flux/common/apache/lucene/search/ReferenceManager$RefreshListener9com/groupbyinc/flux/common/apache/lucene/util/AccountableLiveVersionMap.java1com/groupbyinc/flux/index/engine/LiveVersionMap$1
4com/groupbyinc/flux/index/engine/LiveVersionMap$MapsMaps=com/groupbyinc/flux/index/engine/LiveVersionMap$VersionLookup
VersionLookupjava/util/Map$Entry
java/util/MapEntry@com/groupbyinc/flux/common/apache/lucene/search/ReferenceManagerRefreshListener	keyedLock6Lcom/groupbyinc/flux/common/util/concurrent/KeyedLock;pLcom/groupbyinc/flux/common/util/concurrent/KeyedLock;
tombstonesLjava/util/Map;~Ljava/util/Map;maps6Lcom/groupbyinc/flux/index/engine/LiveVersionMap$Maps;
unsafeKeysMapBASE_BYTES_PER_BYTESREFJBASE_BYTES_PER_CHM_ENTRYramBytesUsedTombstones(Ljava/util/concurrent/atomic/AtomicLong;$assertionsDisabledZ()V*+
,4com/groupbyinc/flux/common/util/concurrent/KeyedLock.
/,	1@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections3)newConcurrentMapWithAggressiveConcurrency&()Ljava/util/concurrent/ConcurrentMap;56
47	9

, !	<"!	>&java/util/concurrent/atomic/AtomicLong@
A,&'	Cthis1Lcom/groupbyinc/flux/index/engine/LiveVersionMap;
beforeRefreshjava/io/IOExceptionHbuildTransitionMap8()Lcom/groupbyinc/flux/index/engine/LiveVersionMap$Maps;JK

L()	Njava/lang/AssertionErrorP
Q,afterRefresh(Z)VinvalidateOldMapUK

V
didRefreshgetUnderLocki(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/index/engine/VersionValue;?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/index/engine/LiveVersionMap$Maps;)Lcom/groupbyinc/flux/index/engine/VersionValue;Y[
\uid8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;"assertKeyedLockHeldByCurrentThread;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z`a
bcurrent?Lcom/groupbyinc/flux/index/engine/LiveVersionMap$VersionLookup;de	
fgethZ
i-com/groupbyinc/flux/index/engine/VersionValuekoldme	
n&(Ljava/lang/Object;)Ljava/lang/Object;hpqcurrentMapsvalue/Lcom/groupbyinc/flux/index/engine/VersionValue;getVersionForAssertisUnsafe()Zwx
yenforceSafeAccessneedsSafeAccess|)	
}isSafeAccessRequiredisSafeAccessMode?x

?maybePutIndexUnderLocko(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/index/engine/IndexVersionValue;)VputIndexUnderLock??
?removeTombstoneUnderLock;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V??
?markAsUnsafe?+
?putAssertionMapo(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/index/engine/IndexVersionValue;)Z??
?version4Lcom/groupbyinc/flux/index/engine/IndexVersionValue;6com/groupbyinc/flux/common/apache/lucene/util/BytesRef?bytes[B??	??lengthI??	??java/lang/StringBuilder?
?,Oversized _uid! UID length: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(I)Ljava/lang/StringBuilder;??
??, bytes length: ?toString()Ljava/lang/String;??
??(Ljava/lang/Object;)V*?
Q?putj(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/index/engine/VersionValue;)V??

?putDeleteUnderLockp(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/index/engine/DeleteVersionValue;)VputTombstone??
?remove??

?5Lcom/groupbyinc/flux/index/engine/DeleteVersionValue;#$	?8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???%$	?3com/groupbyinc/flux/index/engine/DeleteVersionValue?ramBytesUsed()J??
??
l?	addAndGet(J)J??
A?bytes=?(J)Ljava/lang/StringBuilder;??
??vuidRAMBytesUsed
prevTombstone
accountRam?p?isDelete?x
l?prevcanRemoveTombstone:(JJLcom/groupbyinc/flux/index/engine/DeleteVersionValue;)Ztime?$	??seqNo?$	??getMinDeleteTimestamp??

?maxTimestampToPrunemaxSeqNoToPruneversionValueisTooOld
isSafeToPruneisNotTrackedByCurrentMapspruneTombstones(JJ)Vjava/lang/Throwable?entrySet()Ljava/util/Set;???
java/util/Set?iterator()Ljava/util/Iterator;????java/util/IteratorhasNextxnext()Ljava/lang/Object;getValue
??

getKey
tryAcquireA(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/lease/Releasable;
/+com/groupbyinc/flux/common/lease/Releasableclose+
addSuppressed(Ljava/lang/Throwable;)V
?lock-Lcom/groupbyinc/flux/common/lease/Releasable;entry?Ljava/util/Map$Entry;Ljava/util/Map$Entry;clear$+%?'	'h?
A)ramBytesUsedForRefreshgetChildResources()Ljava/util/Collection;java/util/Collections.	emptyList()Ljava/util/List;01
/2
getAllCurrent()Ljava/util/Map;
access$500P(Lcom/groupbyinc/flux/index/engine/LiveVersionMap$VersionLookup;)Ljava/util/Map;67
8getAllTombstonesacquireLockg(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/lease/Releasable;acquire=
/>isHeldByCurrentThread(Ljava/lang/Object;)Z@A
/BThread [Djava/lang/ThreadF
currentThread()Ljava/lang/Thread;HI
GJgetNameL?
GM], uid [Outf8ToStringQ?
?R]T
access$200
access$300java/lang/ClassYdesiredAssertionStatus[x
Z\?com/groupbyinc/flux/common/apache/lucene/util/RamUsageEstimator^shallowSizeOfInstance(Ljava/lang/Class;)J`a
_bNUM_BYTES_ARRAY_HEADERd?	_ejava/lang/IntegerivalueOf(I)Ljava/lang/Integer;kl
jm
shallowSizeOf(Ljava/lang/Object;)Jop
_qNUM_BYTES_OBJECT_REFs?	_tmap7Ljava/util/Map;chmEntryShallowSize	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTableU()Ljava/util/Collection;z()Ljava/util/Map;?()Ljava/util/Map;
SourceFileInnerClasses0yyB !B"!#$%$&'()*+zv8*?-*?/Y?0?2*?8?:*?
Y?;?=*?
Y?;??*?AY?B?D?{8EF|%'??!?,?G+zd)**?=?M?=?O?**???MZ????QY?R??{)EF|??(?}(~ISTzn)**?=?W?=?O?**???WZ????QY?R??{)EF)X)|(}(~IYZz>
*+*?=?]?{
EF
^_|Y[z?B?O?*+?c??QY?R?,?g+?jN-?-?,?o+?jN-?-?*?:+?r?l?{*BEFB^_Bs!#tu|"#%.24}
?lvZzr*+*?=?]M,?
*+*???]M,?{ EF^_
tu|
 !#}?lwxzV *?=?g?z?*?=?o?z???{ EF|'}@{+z7	*?=?~?{	EF|
+,xz2*?=???{EF|/??z?O?O?*+?c??QY?R?*?=N-???*+,???&*+??-?g???O?*+,????QY?R??{*OEFO^_O??4 !|"678"9+>0?7@NB}
?
"??z?b?O?*+?c??QY?R??O?:+???+???.?QY??Y?????+???????+??????????*?=+,??*+???{ bEFb^_b??|EFSG\HaI}<??z?^?O?*+?c??QY?R??O?:+???+???.?QY??Y?????+???????+??????????*??+,???{ ^EF^^_^??|LMSN\O}<??z?c?O?*+?c??QY?R??O?:+???+???.?QY??Y?????+???????+??????????*+,??*?=+,???{ cEFc^_c??|STSUYVbW}<??z
x??+????aB*?:+,???l:??,??a!a7?????a!ae7	??7*?D??7?O?&	???QY??Y??Զ??׶?????{HN)?$xEFx^_x??m?$]?u'Q?$|&	Z\]'_,`<bCcNdwf}?<l:??z	??O?*+?c??QY?R???+????aA*?:+???l:?W?O?????QY?R?*?D????a au??7?O?&	???QY??Y??Զ??׶?????{4`)?$?EF?^_!i?$0Z?u|"lm!n0o5pKq`r?t}?4l=??z?	N?????6??!???6??*?=?씜?6?????{HNEFN?$N?$N??=?)",?)9?)|xy"|9}}@?@?@?@??z!
?*?:???:????	?:*!??ɷ?????:*?2?::	?)*?:?r??:

?*!
??	*???]	???N:
	
??B??8:

:	
?:?%	???:	??
????3?????S~??S~????????{Hh??
P? E?^_&?!#?EF??$??$&?!"|:?&?9?E?S?X?h?m?x?~?????????}f??m??S?I?H??
?????? $+zG*?
Y?;?=*?:?&?{EF|?????z@*?=?g?(?**?D?*a?{EF|?+?z8*?=?g?(?*?{EF|?,-z.?3?{EF|?y?45z5*?=?g?9?{EF|?y?:5z/*?:?{EF|?y?;<z=	*?2+???{	EF	^_|?`az?G?O?B*?2+?C?7?QY??Y??E???K?N??P??+?S??U????????{GEFG^_|
?E?}?EV?z?­|%W?z?ǭ|%X+z?T?]???O??c?f?aga?¸8K*?n?n??W*????	?r@?uh?a?DZ{%.vHx$%.vw|"%??!?%?4?H?S?}@?	?*
		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy