
com.groupbyinc.flux.common.lucene.ShardCoreKeyMap.class Maven / Gradle / Ivy
???? 3 ? 1com/groupbyinc/flux/common/lucene/ShardCoreKeyMap java/lang/Object ShardCoreKeyMap.java 3com/groupbyinc/flux/common/lucene/ShardCoreKeyMap$1 Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader$CoreClosedListener 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader
CoreClosedListener coreKeyToShard Ljava/util/Map; LLjava/util/Map; indexToCoreKey ;Lcom/groupbyinc/flux/common/google/common/collect/Multimap; aLcom/groupbyinc/flux/common/google/common/collect/Multimap; $assertionsDisabled Z ()V
java/util/IdentityHashMap
=com/groupbyinc/flux/common/google/common/collect/HashMultimap create A()Lcom/groupbyinc/flux/common/google/common/collect/HashMultimap; !
" $ this 3Lcom/groupbyinc/flux/common/lucene/ShardCoreKeyMap; add >(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)V java/io/IOException * *com/groupbyinc/flux/index/shard/ShardUtils , extractShardId f(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Lcom/groupbyinc/flux/index/shard/ShardId; . /
- 0 "java/lang/IllegalArgumentException 2 java/lang/StringBuilder 4
5 Could not extract shard id from 7 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 9 :
5 ; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 9 =
5 > toString ()Ljava/lang/String; @ A
5 B (Ljava/lang/String;)V D
3 E 'com/groupbyinc/flux/index/shard/ShardId G getCoreCacheKey ()Ljava/lang/Object; I J
K getIndex M A
H N
java/util/Map P put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; R S Q T 9com/groupbyinc/flux/common/google/common/collect/Multimap V '(Ljava/lang/Object;Ljava/lang/Object;)Z R X W Y [ java/lang/AssertionError ]
^ java/lang/String ` Z(Lcom/groupbyinc/flux/common/lucene/ShardCoreKeyMap;Ljava/lang/Object;Ljava/lang/String;)V b
c addCoreClosedListener Q(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader$CoreClosedListener;)V e f
g onClose (Ljava/lang/Object;)V i j k java/lang/RuntimeException m 6Blow up trying to recover from failure to add listener o *(Ljava/lang/String;Ljava/lang/Throwable;)V q
n r java/lang/Throwable t e Ljava/io/IOException; added listener NLcom/groupbyinc/flux/common/apache/lucene/index/LeafReader$CoreClosedListener;
addedListener reader ;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; shardId )Lcom/groupbyinc/flux/index/shard/ShardId; coreKey Ljava/lang/Object; index Ljava/lang/String;
getShardId =(Ljava/lang/Object;)Lcom/groupbyinc/flux/index/shard/ShardId; get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? Q ? getCoreKeysForIndex #(Ljava/lang/String;)Ljava/util/Set; *(Ljava/lang/Object;)Ljava/util/Collection; ? ? W ? =com/groupbyinc/flux/common/google/common/collect/ImmutableSet ? copyOf W(Ljava/util/Collection;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet; ? ?
? ? size ()I ? ? W ? Q ?
access$000 D(Lcom/groupbyinc/flux/common/lucene/ShardCoreKeyMap;)Ljava/util/Map; x0
access$100 p(Lcom/groupbyinc/flux/common/lucene/ShardCoreKeyMap;)Lcom/groupbyinc/flux/common/google/common/collect/Multimap; java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable 7(Ljava/lang/String;)Ljava/util/Set;
SourceFile InnerClasses 1
? ? ? M *? *? Y? ? *? #? %? ? &