public class org.apache.lucene.index.MergePolicy$MergeSpecification
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.index.MergePolicy$MergeSpecification
super_class: java.lang.Object
{
public final java.util.List<org.apache.lucene.index.MergePolicy$OneMerge> merges;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/lucene/index/MergePolicy$OneMerge;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.lucene.index.MergePolicy$MergeSpecification.merges:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
public void add(org.apache.lucene.index.MergePolicy$OneMerge);
descriptor: (Lorg/apache/lucene/index/MergePolicy$OneMerge;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.MergePolicy$MergeSpecification.merges:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
0 2 1 merge Lorg/apache/lucene/index/MergePolicy$OneMerge;
MethodParameters:
Name Flags
merge
public java.lang.String segString(org.apache.lucene.store.Directory);
descriptor: (Lorg/apache/lucene/store/Directory;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 2
ldc "MergeSpec:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.apache.lucene.index.MergePolicy$MergeSpecification.merges:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 2
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iconst_1
iload 4
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.MergePolicy$MergeSpecification.merges:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.MergePolicy$OneMerge
invokevirtual org.apache.lucene.index.MergePolicy$OneMerge.segString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmplt 5
end local 4 8: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
0 9 1 dir Lorg/apache/lucene/store/Directory;
1 9 2 b Ljava/lang/StringBuilder;
3 9 3 count I
4 8 4 i I
MethodParameters:
Name Flags
dir
boolean await(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.apache.lucene.index.MergePolicy$MergeSpecification.merges:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/lucene/index/MergePolicy$MergeSpecification.lambda$0(Lorg/apache/lucene/index/MergePolicy$OneMerge;)Ljava/util/concurrent/CompletableFuture; (6)
(Lorg/apache/lucene/index/MergePolicy$OneMerge;)Ljava/util/concurrent/CompletableFuture;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
aload 0
getfield org.apache.lucene.index.MergePolicy$MergeSpecification.merges:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray java.util.concurrent.CompletableFuture
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.util.concurrent.CompletableFuture[]
2: invokestatic java.util.concurrent.CompletableFuture.allOf:([Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
astore 4
start local 4 3: aload 4
lload 1
aload 3
invokevirtual java.util.concurrent.CompletableFuture.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
pop
4: iconst_1
ireturn
end local 4 5: StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 4
start local 4 6: new org.apache.lucene.util.ThreadInterruptedException
dup
aload 4
invokespecial org.apache.lucene.util.ThreadInterruptedException.<init>:(Ljava/lang/InterruptedException;)V
athrow
end local 4 7: StackMap locals:
StackMap stack: java.lang.Exception
pop
8: iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
0 9 1 timeout J
0 9 3 unit Ljava/util/concurrent/TimeUnit;
3 5 4 future Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
6 7 4 e Ljava/lang/InterruptedException;
Exception table:
from to target type
0 4 5 Class java.lang.InterruptedException
0 4 7 Class java.util.concurrent.ExecutionException
0 4 7 Class java.util.concurrent.TimeoutException
MethodParameters:
Name Flags
timeout
unit
private static java.util.concurrent.CompletableFuture lambda$0(org.apache.lucene.index.MergePolicy$OneMerge);
descriptor: (Lorg/apache/lucene/index/MergePolicy$OneMerge;)Ljava/util/concurrent/CompletableFuture;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m Lorg/apache/lucene/index/MergePolicy$OneMerge;
}
SourceFile: "MergePolicy.java"
NestHost: org.apache.lucene.index.MergePolicy
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public MergeSpecification = org.apache.lucene.index.MergePolicy$MergeSpecification of org.apache.lucene.index.MergePolicy
public OneMerge = org.apache.lucene.index.MergePolicy$OneMerge of org.apache.lucene.index.MergePolicy