
com.groupbyinc.flux.indices.recovery.RecoveryTarget$FileChunkTransportRequestHandler.class Maven / Gradle / Ivy
???? 3L Tcom/groupbyinc/flux/indices/recovery/RecoveryTarget$FileChunkTransportRequestHandler xLcom/groupbyinc/flux/transport/TransportRequestHandler; 5com/groupbyinc/flux/transport/TransportRequestHandler RecoveryTarget.java 3com/groupbyinc/flux/indices/recovery/RecoveryTarget FileChunkTransportRequestHandler 8com/groupbyinc/flux/indices/recovery/RecoveryState$Index
2com/groupbyinc/flux/indices/recovery/RecoveryState Index Ccom/groupbyinc/flux/indices/recovery/RecoveriesCollection$StatusRef 9com/groupbyinc/flux/indices/recovery/RecoveriesCollection StatusRef ;com/groupbyinc/flux/indices/recovery/RecoveryState$Translog Translog 5com/groupbyinc/flux/index/store/Store$LegacyChecksums %com/groupbyinc/flux/index/store/Store LegacyChecksums 5com/groupbyinc/flux/transport/TransportResponse$Empty /com/groupbyinc/flux/transport/TransportResponse Empty bytesSinceLastPause (Ljava/util/concurrent/atomic/AtomicLong; $assertionsDisabled Z this$0 5Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget; 8(Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;)V % & ) ()V ' +
, &java/util/concurrent/atomic/AtomicLong .
/ , ! " 1 this VLcom/groupbyinc/flux/indices/recovery/RecoveryTarget$FileChunkTransportRequestHandler; messageReceived r(Lcom/groupbyinc/flux/indices/recovery/RecoveryFileChunkRequest;Lcom/groupbyinc/flux/transport/TransportChannel;)V java/lang/Exception 7 java/lang/Throwable 9
access$000 r(Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection; ; <
= =com/groupbyinc/flux/indices/recovery/RecoveryFileChunkRequest ?
recoveryId ()J A B
@ C shardId +()Lcom/groupbyinc/flux/index/shard/ShardId; E F
@ G
getStatusSafe q(JLcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$StatusRef; I J
K status 7()Lcom/groupbyinc/flux/indices/recovery/RecoveryStatus; M N
O 3com/groupbyinc/flux/indices/recovery/RecoveryStatus Q store )()Lcom/groupbyinc/flux/index/store/Store; S T
R U state 6()Lcom/groupbyinc/flux/indices/recovery/RecoveryState; W X
R Y getTranslog ?()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog; [ \
] totalTranslogOps ()I _ `
@ a totalOperations (I)V c d
e getIndex <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index; g h
i sourceThrottleTimeInNanos k B
@ l???????? addSourceThrottling (J)V p q
r .com/groupbyinc/flux/transport/TransportChannel t position v B
@ w name ()Ljava/lang/String; y z
@ { metadata 5()Lcom/groupbyinc/flux/index/store/StoreFileMetaData; } ~
@ openAndPutIndexOutput ?(Ljava/lang/String;Lcom/groupbyinc/flux/index/store/StoreFileMetaData;Lcom/groupbyinc/flux/index/store/Store;)Lcom/groupbyinc/flux/common/apache/lucene/store/IndexOutput; ? ?
R ? getOpenIndexOutput P(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/store/IndexOutput; ? ?
R ? :com/groupbyinc/flux/common/apache/lucene/store/IndexOutput ? content 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; ? ?
@ ? /com/groupbyinc/flux/common/bytes/BytesReference ? hasArray ()Z ? ? ? ? toBytesArray /()Lcom/groupbyinc/flux/common/bytes/BytesArray; ? ? ? ?
access$700 n(Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;)Lcom/groupbyinc/flux/indices/recovery/RecoverySettings; ? ?
? 5com/groupbyinc/flux/indices/recovery/RecoverySettings ? rateLimiter >()Lcom/groupbyinc/flux/common/apache/lucene/store/RateLimiter; ? ?
? ? length ? ` ? ? addAndGet (J)J ? ?
/ ? :com/groupbyinc/flux/common/apache/lucene/store/RateLimiter ? getMinPauseCheckBytes ? B
? ? pause ? ?
? ? addTargetThrottling ? q
?
indexShard .()Lcom/groupbyinc/flux/index/shard/IndexShard; ? ?
R ? *com/groupbyinc/flux/index/shard/IndexShard ?
recoveryStats 4()Lcom/groupbyinc/flux/index/recovery/RecoveryStats; ? ?
? ? 0com/groupbyinc/flux/index/recovery/RecoveryStats ? addThrottleTime ? q
? ? array ()[B ? ? ? ? arrayOffset ? ` ? ?
writeBytes ([BII)V ? ?
? ? addRecoveredBytesToFile (Ljava/lang/String;J)V ? ?
? getFilePointer ? B
? ? ? B
@ ? lastChunk ? ?
@ ? verify ?(Lcom/groupbyinc/flux/common/apache/lucene/store/IndexOutput;)V ? ?
? close ? +
? ? legacyChecksums 9()Lcom/groupbyinc/flux/index/store/Store$LegacyChecksums; ? ?
R ? add 6(Lcom/groupbyinc/flux/index/store/StoreFileMetaData;)V ? ?
? getTempNameForFile &(Ljava/lang/String;)Ljava/lang/String; ? ?
R ? # $ ? directory <()Lcom/groupbyinc/flux/common/apache/lucene/store/Directory; ? ?
? 8com/groupbyinc/flux/common/apache/lucene/store/Directory ? listAll ()[Ljava/lang/String; ? ?
? ? java/util/Arrays ? asList %([Ljava/lang/Object;)Ljava/util/List; ? ?
? ? java/util/List contains (Ljava/lang/Object;)Z java/lang/AssertionError
, java/lang/String java/util/Collections singleton #(Ljava/lang/Object;)Ljava/util/Set;
sync (Ljava/util/Collection;)V
? removeOpenIndexOutputs ?
R
?
addSuppressed (Ljava/lang/Throwable;)V
: INSTANCE 7Lcom/groupbyinc/flux/transport/TransportResponse$Empty; sendResponse 4(Lcom/groupbyinc/flux/transport/TransportResponse;)V!" u# indexOutput