org.apache.jackrabbit.oak.plugins.document.BatchCommit.class Maven / Gradle / Ivy
???? 2> B ? B ? B ? B ? B ?
? ?
? B ?
? ? B ?
9 ?
? ? ? ?
? ? ?
? ? ? ? ?
? ?
?
?
9 ? ? ? ?
? ? ? ?
? ? ? ? ? ? ?
? ? ? ?
$ ? ?
$ ?
# ?
$ ? ? ?
B ?
B ?
?
? ? ? ?
1 ?
? ? ? ? ? ? ? ? ? ? ? ?
? ?
? ?
? ?
? ?
? ?
! ?
! ?
? ? ?
? ? InnerClasses LOG Lorg/slf4j/Logger; finished %Ljava/util/concurrent/CountDownLatch; id Ljava/lang/String; queue =Lorg/apache/jackrabbit/oak/plugins/document/BatchCommitQueue; ops Ljava/util/List; Signature GLjava/util/List; results jLjava/util/List;>; executing Z S(Ljava/lang/String;Lorg/apache/jackrabbit/oak/plugins/document/BatchCommitQueue;Z)V Code LineNumberTable LocalVariableTable this 8Lorg/apache/jackrabbit/oak/plugins/document/BatchCommit; onHold
StackMapTable ? ? ? getId ()Ljava/lang/String; enqueue V(Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp;)Ljava/util/concurrent/Callable; result Ljava/util/concurrent/Callable; op 5Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp; LocalVariableTypeTable ZLjava/util/concurrent/Callable; ? ? ? ? ?(Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp;)Ljava/util/concurrent/Callable; release ()V execute (I)Ljava/util/concurrent/Future; combined t Ljava/lang/Throwable; before 9Lorg/apache/jackrabbit/oak/plugins/document/NodeDocument; msg e Ljava/lang/InterruptedException; idx I ? ? [(I)Ljava/util/concurrent/Future; executeIndividually 2Lcom/google/common/util/concurrent/SettableFuture; i$ Ljava/util/Iterator; store :Lorg/apache/jackrabbit/oak/plugins/document/DocumentStore; mLcom/google/common/util/concurrent/SettableFuture; ? ? ? populateResults <(Lorg/apache/jackrabbit/oak/plugins/document/NodeDocument;)V after
comparator Ljava/util/Comparator; MLjava/util/Comparator; ?
access$000 J(Lorg/apache/jackrabbit/oak/plugins/document/BatchCommit;)Ljava/util/List; x0
access$100 ;(Lorg/apache/jackrabbit/oak/plugins/document/BatchCommit;)Z
access$200 L(Lorg/apache/jackrabbit/oak/plugins/document/BatchCommit;)Ljava/lang/String;
access$300 ()Lorg/slf4j/Logger;
access$400 w(Lorg/apache/jackrabbit/oak/plugins/document/BatchCommit;)Lorg/apache/jackrabbit/oak/plugins/document/BatchCommitQueue;
SourceFile BatchCommit.java L M F G J K T U N O V r #java/util/concurrent/CountDownLatch V ? H I ? ? ? R O b c ? ? ? 8Cannot add UpdateOp with id %s to BatchCommit with id %s java/lang/Object ? ? .Cannot enqueue when batch is already executing ? 8org/apache/jackrabbit/oak/plugins/document/BatchCommit$1 V 8org/apache/jackrabbit/oak/plugins/document/BatchCommit$2 V r Batch committing {} updates
? ? 7org/apache/jackrabbit/oak/plugins/document/NodeDocument H java/lang/Throwable java/lang/StringBuilder -BatchCommit failed, will retry individually. c c ? r ? ? r r java/lang/InterruptedException 4Interrupted while waiting for batch commit to finish 1org/apache/jackrabbit/mk/api/MicroKernelException V!"#$% java/util/concurrent/Future&' ?()*+ 3org/apache/jackrabbit/oak/plugins/document/UpdateOp ?,-. ?/01234 V56789: 6org/apache/jackrabbit/oak/plugins/document/BatchCommit;<= java/lang/String ;org/apache/jackrabbit/oak/plugins/document/BatchCommitQueue java/util/concurrent/Callable 8org/apache/jackrabbit/oak/plugins/document/DocumentStore java/util/Iterator 0com/google/common/util/concurrent/SettableFuture java/util/Comparator (I)V com/google/common/collect/Lists newArrayList ()Ljava/util/ArrayList; equals (Ljava/lang/Object;)Z $com/google/common/base/Preconditions
checkArgument )(ZLjava/lang/String;[Ljava/lang/Object;)V
checkState (ZLjava/lang/Object;)V java/util/List add ;(Lorg/apache/jackrabbit/oak/plugins/document/BatchCommit;)V p(Lorg/apache/jackrabbit/oak/plugins/document/BatchCommit;Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp;)V notifyAll combine ](Ljava/lang/String;Ljava/lang/Iterable;)Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp; size ()I java/lang/Integer valueOf (I)Ljava/lang/Integer; org/slf4j/Logger debug '(Ljava/lang/String;Ljava/lang/Object;)V getStore <()Lorg/apache/jackrabbit/oak/plugins/document/DocumentStore; 5org/apache/jackrabbit/oak/plugins/document/Collection NODES 7Lorg/apache/jackrabbit/oak/plugins/document/Collection;
findAndUpdate ?(Lorg/apache/jackrabbit/oak/plugins/document/Collection;Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp;)Lorg/apache/jackrabbit/oak/plugins/document/Document; append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
getMessage toString warn (Ljava/lang/String;)V countDown await )com/google/common/util/concurrent/Futures immediateFailedFuture K(Ljava/lang/Throwable;)Lcom/google/common/util/concurrent/ListenableFuture; get (I)Ljava/lang/Object; iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; create 4()Lcom/google/common/util/concurrent/SettableFuture; set setException (Ljava/lang/Throwable;)Z
getComparator ()Ljava/util/Comparator; immediateFuture H(Ljava/lang/Object;)Lcom/google/common/util/concurrent/ListenableFuture; =(Lorg/apache/jackrabbit/oak/plugins/document/DocumentStore;)V deepCopy 8(Lorg/apache/jackrabbit/oak/plugins/document/Document;)V 6org/apache/jackrabbit/oak/plugins/document/UpdateUtils applyChanges ?(Lorg/apache/jackrabbit/oak/plugins/document/Document;Lorg/apache/jackrabbit/oak/plugins/document/UpdateOp;Ljava/util/Comparator;)V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; 0 B F G H I J K L M N O P Q R O P S T U
V W X ? -*? *? Y? ? *+? *,? ? *?
? *?
? ? Y " 6 - 7 8 9 : % ; , = Z * - [ \ - J K - L M - ] U ^ ? , _ ` a b c X / *? ? Y @ Z [ \ d e X S r+? *? ?
? Y+? SY*? S? *YN?*? ? ? ? *? ? *? +? W? Y*? M? *? ? Y*+? M-ç
:-??,? &