public final class org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy extends org.apache.lucene.index.IndexDeletionPolicy
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy
super_class: org.apache.lucene.index.IndexDeletionPolicy
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.index.IndexDeletionPolicy.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/KeepOnlyLastCommitDeletionPolicy;
public void onInit(java.util.List<? extends org.apache.lucene.index.IndexCommit>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy.onCommit:(Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/KeepOnlyLastCommitDeletionPolicy;
0 2 1 commits Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;
Signature: (Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;)V
MethodParameters:
Name Flags
commits
public void onCommit(java.util.List<? extends org.apache.lucene.index.IndexCommit>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexCommit
invokevirtual org.apache.lucene.index.IndexCommit.delete:()V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
iconst_1
isub
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/KeepOnlyLastCommitDeletionPolicy;
0 7 1 commits Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;
1 7 2 size I
2 6 3 i I
Signature: (Ljava/util/List<+Lorg/apache/lucene/index/IndexCommit;>;)V
MethodParameters:
Name Flags
commits
}
SourceFile: "KeepOnlyLastCommitDeletionPolicy.java"