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

org.apache.jackrabbit.oak.plugins.index.lucene.IndexCopier.class Maven / Gradle / Ivy

????3?	??	??	??
??
R?
R?
???
?	??	??	??	??	??	??	??	??	??	??	??	???
?	??	??	??	??	??	??
??	??
??	??	???
#?
??	??
??	??	??	??
??	???
-?
??
???
1?
??
???
5?	??
??
??
?????
??
D?
?????
A???
D?
C?
-?
??]?]?
????
O????
O???
O?
??
???????
O?
?
????]??
_?
_??
D?
??
D??
??
A?
??
O?
??
??
???
?????
??
??]

O


?
	
	{
z

?
-
?
	{
?
?
?
? !
?"
#
-??$%
?&
'(
')*+,
?&-
./	?0123IndexMappingDataInnerClassesDeleteOldDirOnCloseREMOTE_ONLYLjava/util/Set;	Signature#Ljava/util/Set;MAX_FAILURE_ENTRIESI
ConstantValue'
WORK_DIR_NAMELjava/lang/String;logLorg/slf4j/Logger;executorLjava/util/concurrent/Executor;indexWorkDirLjava/io/File;readerLocalReadCount+Ljava/util/concurrent/atomic/AtomicInteger;writerLocalReadCountreaderRemoteReadCountwriterRemoteReadCountinvalidFileCountdeletedFileCountscheduledForCopyCountcopyInProgressCountmaxCopyInProgressCountmaxScheduledForCopyCountuploadCount
downloadCountcopyInProgressSize(Ljava/util/concurrent/atomic/AtomicLong;downloadSize
uploadSizegarbageCollectedSizeskippedFromUploadSizedownloadTime
uploadTimesharedWorkingSetMapLjava/util/Map;FLjava/util/Map;>;indexPathVersionMapping5Ljava/util/Map;failedToDeleteFiles$Ljava/util/concurrent/ConcurrentMap;?Ljava/util/concurrent/ConcurrentMap;copyInProgressFilesZLjava/util/Set;prefetchEnabledZclosedindexRootDirectoryMLorg/apache/jackrabbit/oak/plugins/index/lucene/directory/IndexRootDirectory;validatedIndexPaths0(Ljava/util/concurrent/Executor;Ljava/io/File;)VCodeLineNumberTableLocalVariableTablethis;getFailedToDeleteFiles()Ljava/util/Map;n()Ljava/util/Map;failedToDeleteL(Lorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexFile;)VfailedToDeleteFileILorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexFile;file?successfullyDeletedM(Lorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexFile;Z)VfileExistedgetSharedWorkingSet	sharedSetLocalVariableTypeTable??6checkIntegrity[(Ljava/lang/String;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/store/Directory;)VinitializerWorkDir(Ljava/io/File;)Ljava/io/File;workDircreateIndexPathKey8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
deleteFile9(Lorg/apache/lucene/store/Directory;Ljava/lang/String;Z)ZeLjava/io/IOException;fileNamecopiedFromRemotesuccessFullyDeleted?	startCopyL(Lorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexFile;)JisCopyInProgressL(Lorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexFile;)ZdoneCopyM(Lorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexFile;J)VstartJupdateMaxScheduled(I)VcurrentvalupdateMaxInProgress
skippedUpload(J)VskippedFilesSizescheduledForCopycopyDonereadFromRemote(Z)Vreader
readFromLocalfoundInvalidFilegetIndexPathMapping*()Ljavax/management/openmbean/TabularData;sizeHLorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexDir;i$Ljava/util/Iterator;tt(Ljavax/management/openmbean/TabularType;.Ljavax/management/openmbean/OpenDataException;tds/Ljavax/management/openmbean/TabularDataSupport;7 isPrefetchEnabledgetReaderLocalReadCount()IgetReaderRemoteReadCountgetWriterLocalReadCountgetWriterRemoteReadCountgetInvalidFileCountgetDownloadSize()Ljava/lang/String;getDownloadTime()JgetDownloadCountgetUploadCount
getUploadSize
getUploadTimegetLocalIndexSizegetGarbageDetails()[Ljava/lang/String;getGarbageSizegarbageSizegetScheduledForCopyCountgetCopyInProgressCountgetCopyInProgressSizegetMaxCopyInProgressCountgetMaxScheduledForCopyCountgetSkippedFromUploadSizegetCopyInProgressDetailsgetDeletedFilesCountgetGarbageCollectedSize
access$000?(Lorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier;)Lorg/apache/jackrabbit/oak/plugins/index/lucene/directory/IndexRootDirectory;x0
access$100f(Lorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier;)Ljava/util/concurrent/atomic/AtomicLong;
access$200P(Lorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier;)Lorg/slf4j/Logger;
SourceFileIndexCopier.java??????????89:;<)java/util/concurrent/atomic/AtomicInteger????????????????????????&java/util/concurrent/atomic/AtomicLong????????????=>???@A????&java/util/concurrent/ConcurrentHashMapBCD??EFG??????)*??Korg/apache/jackrabbit/oak/plugins/index/lucene/directory/IndexRootDirectory?H?'(Lorg/apache/jackrabbit/oak/plugins/index/lucene/directory/CopyOnReadDirectory?I??4JdMorg/apache/jackrabbit/oak/plugins/index/lucene/directory/CopyOnWriteDirectory??KLMNOPIndexWriter would use {}QRSOTUd,-VWXjava/lang/StringYZNorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier$DeleteOldDirOnClosejava/io/File??[!\Z]?^_`O^adbXGorg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexFilec?YNot able to delete {}. Currently more than {} file with total size {} are pending delete.java/lang/ObjectddefgndhijkDeleted : {}lfmno^pk
java/util/SetqZKorg/apache/jackrabbit/oak/plugins/index/lucene/directory/IndexSanityChecker?(r??stuHv?Cannot create directory %swxyz{|}~?5??.java/io/IOExceptionlError occurred while removing deleted file {} from Local {}. Attempt would be made to delete it on next run RiB???fjZ?^??p^??>?&javax/management/openmbean/TabularTypeKorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier$IndexMappingData??dLucene Index Stats??jcrPath??-javax/management/openmbean/TabularDataSupport???????7????Forg/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexDirOf???/javax/management/openmbean/CompositeDataSupport?*?d?d??W?,javax/management/openmbean/OpenDataExceptionjava/lang/IllegalStateException??pf??org/apache/jackrabbit/oak/plugins/index/lucene/IndexDefinition!org/apache/lucene/store/Directoryjava/lang/Throwablejava/util/IteratorgetClass()Ljava/lang/Class;org/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;com/google/common/collect/Maps
newHashMap()Ljava/util/HashMap;newConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;java/util/Collections
newSetFromMap (Ljava/util/Map;)Ljava/util/Set;com/google/common/collect/SetsnewConcurrentHashSet()Ljava/util/Set;(Ljava/io/File;)V?(Lorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/store/Directory;ZLjava/lang/String;Ljava/util/concurrent/Executor;)VgetIndexPath%org/apache/lucene/store/NoLockFactorygetNoLockFactory)()Lorg/apache/lucene/store/NoLockFactory;#org/apache/lucene/store/FSDirectoryopenZ(Ljava/io/File;Lorg/apache/lucene/store/LockFactory;)Lorg/apache/lucene/store/FSDirectory;org/slf4j/Loggerdebug'(Ljava/lang/String;Ljava/lang/Object;)V5(Ljava/io/File;)Lorg/apache/lucene/store/FSDirectory;getAbsolutePath
java/util/Mapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;equals(Ljava/lang/Object;)Zp(Lorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier;Lorg/apache/lucene/store/Directory;Ljava/io/File;)VaddclearunmodifiableMap (Ljava/util/Map;)Ljava/util/Map;"java/util/concurrent/ConcurrentMapgetKeyputIfAbsentincrementAttemptToDelete	deleteLogjava/lang/IntegervalueOf(I)Ljava/lang/Integer;warn((Ljava/lang/String;[Ljava/lang/Object;)Vremove&(Ljava/lang/Object;)Ljava/lang/Object;getSize	addAndGet(J)JincrementAndGetgetcontainscheck#(Ljava/io/File;Ljava/lang/String;)Vorg/apache/commons/io/FileUtilsdeleteDirectorymkdirs$com/google/common/base/Preconditions
checkState)(ZLjava/lang/String;[Ljava/lang/Object;)Vconcat&(Ljava/lang/String;)Ljava/lang/String;Gorg/apache/jackrabbit/oak/plugins/index/lucene/directory/DirectoryUtils
getFileLength8(Lorg/apache/lucene/store/Directory;Ljava/lang/String;)J:(Lorg/apache/lucene/store/Directory;Ljava/lang/String;JZ)V
fileExists(Ljava/lang/String;)Zjava/lang/SystemcurrentTimeMillisdecrementAndGetisCopyFromRemotesetjava/lang/ClassgetNameTYPE*Ljavax/management/openmbean/CompositeType;d(Ljava/lang/String;Ljava/lang/String;Ljavax/management/openmbean/CompositeType;[Ljava/lang/String;)V+(Ljavax/management/openmbean/TabularType;)VgetAllLocalIndexes()Ljava/util/List;java/util/Listiterator()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;)org/apache/jackrabbit/oak/commons/IOUtilshumanReadableByteCount(J)Ljava/lang/String;FIELD_NAMES
getJcrPath	getFSPathS(Ljavax/management/openmbean/CompositeType;[Ljava/lang/String;[Ljava/lang/Object;)V-(Ljavax/management/openmbean/CompositeData;)V(Ljava/lang/Throwable;)Vvalues()Ljava/util/Collection;?(Lorg/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier;)V#com/google/common/collect/Iterables	transformK(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable;toArray:(Ljava/lang/Iterable;Ljava/lang/Class;)[Ljava/lang/Object;java/util/Collection&com/google/common/collect/ImmutableSetof<(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;!?R??!???????????b??????????????????????????????????????????????????????????????B????????>???J*+,???
lm? ???????n????)*?**???*?Y?	?
*?Y?	?*?Y?	?*?Y?	?
*?Y?	?*?Y?	?*?Y?	?*?Y?	?*?Y?	?*?Y?	?*?Y?	?*?Y?	?*?Y??*?Y??*?Y??*?Y??*?Y??*?Y??*?Y??*??*? ?!*? ?"*?#Y?$?%?&*?'?(*+?)*?**,?+?,*?-Y,?.???~oIMN%O0P;QFRQS\TgUrV}W?X?Y?Z?[?\?]?^?_?b?c?d?ei
pqrs(t?*)??)??)??)???n????'*+,?/:*+-?0?1Y*-*?*+*?)?2??x
yz?>'??'??'??'??'??
???n????+*+?3:+?4:*,?0?5Y*,*?)?6??~	???H+??+??+??+??+??	"?????n???4*?7??
??????n???/*?7?????????/*?,?????????/*???????????(+?4N*+-,?8:?9?::*?;?<??????%??>(??(??(??#???????n??S*,+-?8:?=:?>:*?!+-???@?A:?B???CY*?DY?E?F:???	???,?;?P??RS??S??S??S??	J?C?<?,'?!?P	
?n?S*?+,-?G????*?????????n
?O
*+?H,?IW??
??? 
??
??
??C*+?H?J??
?
???????:*+?H??????????2*?"?K?????????[*?"?L'?"*?"+?M+?N?OM,?+M,?P?/*?Q?RY+?SSY*?"?L?TSY*?US?V??"??!?%?'?+?.?Z?? !
[??[?'?+??=*?"+?M?W?ON-?*?X-?S?<?*?+?Y?ZX*??[W?????$?(?4?<??*=??== ?,	?$!??7*?YN?*?+?\?]M,??'M*?+,?@W-ç
:-??,?+..2.??????)?5?? 7??7??""?#""?/?)$%?%&?$?'(??>*?(+?^??*?(Y:»_Y+,-?`?aW*?(+?IWç:???255:5??
???$?/?=??*>??>??>??>???&

%&??n
)*?b"?DY*b?cL+?d+?ef?RY+S?g+?? 	?"??+??n
,-?:*+?h???????./?-\?OY+,+,?i?j:66+,?k?6+,?l*?m6?':*?o*?p?RY,SY+SYS?q?25n?6
"'/2"57= Y#?R ?7"01\??\??\2?\3?KH4?#?'?

5#67?f&**??[?r*?+?Y?ZX*?&+?IW?s??'()"*?&??&89??*?&+?^??.???:;??m*?&+?tW*??uW*?+?Yu?ZX+?v?'*??s e?ZX*?+?Y?ZX*??[W?$*?+?Y?ZX*??s e?ZX*??[W??.234 6'748@9K;W<d=l@? m??mm<=?K >???)*?YM?*??w>?*??x,ç
:,???!!%!?CDEFH(I? 
@?)??)A??%D&?B???)*?YM?*??w>?*??x,ç
:,???!!%!?LMNOQ(R? 
@?)??)A??%D&?CD?B
*??ZX??
y	z?
??
E=F??:**??[?y??
}~???G??7	*??uW??
???	??HI?b?*??[W?*?
?[W?????????J?KI?b?*?
?[W?*??[W?????????J?L??7	*??[W??
???	??MN?p	??zY{?|}?~?AYS??M??Y,??L*?????N-???E-????:????:+??Y?~???AY??SY??SYS????????M??Y,???M??Y,???+?}??}?n?2??%?F?P?z?}????????????RP*O?F4P2KQRaST?	0U?	01???%qVW(?2XYZ?J?[I5?	X\??/*?*??????]^?2*?
?w??????_^?2*??w??????`^?2*??w??????a^?2*?
?w??????b^?2*??w??????cd?5*???????????ef?2*?????????g^?2*??w??????h^?2*??w??????id?5*???????????jf?2*?????????kd?5*???????????lm?H*?"????Y*????A??????????nd??5	@*?"????N-???-???O:?Ya@?????????%?-?0?*%QR5??3o=?Z?p^?2*??w?????q^?2*??w??
???rd?5*??????????s^?2*??w?????t^?2*??w?????ud?5*??????????vm?C*?&??Y*????A??????"???w^?2*??w??-???xd?5*???????2???yz?/*???D?{?|}?/*???D?{?~?/*???D?{????!	???????E???"{??
C????




© 2015 - 2025 Weber Informatics LLC | Privacy Policy