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

com.groupbyinc.flux.common.apache.lucene.search.SearcherLifetimeManager.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?Gcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManagerjava/lang/Objectjava/io/CloseableSearcherLifetimeManager.javaRcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManager$PruneByAge
PruneByAgeNcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManager$PrunerPrunerWcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManager$SearcherTrackerSearcherTracker
NANOS_PER_SECDA??eclosedZ	searchers(Ljava/util/concurrent/ConcurrentHashMap;?Ljava/util/concurrent/ConcurrentHashMap;()V
&java/util/concurrent/ConcurrentHashMap
	!thisILcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManager;
ensureOpen	&Ecom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException(/this SearcherLifetimeManager instance is closed*(Ljava/lang/String;)V,
)-recordB(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;)Jjava/io/IOException1%
3=com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher5getIndexReader>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;78
69>com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader;
getVersion()J=>
<?java/lang/LongAvalueOf(J)Ljava/lang/Long;CD
BEget&(Ljava/lang/Object;)Ljava/lang/Object;GH
IB(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;)VK
LputIfAbsent8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;NO
PcloseR
Ssearcher?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;UV	W"java/lang/IllegalArgumentExceptionYjava/lang/StringBuilder[
\pthe provided searcher has the same underlying reader version yet the searcher instance differs from before (new=^append-(Ljava/lang/String;)Ljava/lang/StringBuilder;`a
\b-(Ljava/lang/Object;)Ljava/lang/StringBuilder;`d
\e vs old=gtoString()Ljava/lang/String;ij
\k
Z-versionJtrackerYLcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManager$SearcherTracker;acquireB(J)Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;:com/groupbyinc/flux/common/apache/lucene/index/IndexReadert	tryIncRef()Zvw
uxreleasedecRef{
u|spruneS(Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManager$Pruner;)Vjava/util/ArrayList?
?values()Ljava/util/Collection;??
?java/util/Collection?iterator()Ljava/util/Iterator;????java/util/List?java/util/Iterator?hasNext?w??next()Ljava/lang/Object;????add(Ljava/lang/Object;)Z????java/util/Collections?sort(Ljava/util/List;)V??
??java/lang/System?nanoTime?>
????doPruneC(DLcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;)Z???no	?remove?H
?
recordTimeSec?	?ageSecprunerPLcom/groupbyinc/flux/common/apache/lucene/search/SearcherLifetimeManager$Pruner;trackerskLjava/util/List;Ljava/util/List;lastRecordTimeSecnow(Ljava/util/Collection;)V?
??5com/groupbyinc/flux/common/apache/lucene/util/IOUtils?(Ljava/lang/Iterable;)VR?
??size()I??
?java/lang/IllegalStateException?xanother thread called record while this SearcherLifetimeManager instance was being closed; not all searchers were closed?
?-toClose
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTable
SourceFileInnerClasses!?B??>*?*?Y? ?"??#$?
d?%?M*?'?
?)Y+?.???#$?????/0??y*?4+?:??F?O?w??
?F0?2rs??+*?4*?"?F?J?N-?-?X?:?y?-?X??? +#$+nopq?????$?)???)zK?@+?:?}??#$~V?
???2!???
???Y??M*?"????N-???-???:,??W???,??9???o9,??:		???R	???:
??	9?
g9+
?X???*?"
???F??W
?T
??9?????\	)	pqn?x,?d@pq
?#$??????<l?Fb??????F??)?2?5?9?<?Fdkqx?
?????3????????"?$?	?2!R??Y*?'??Y*?"????L+??M,???,???N*?"-???F??W???+??*?"?ș
??Y̷Ϳ?? .pqY#$E???E???&	 $.%=&@(D+N,X.?????$?2??	

	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy