All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.deletionpolicy.KeepLastNDeletionPolicy.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3n@com/groupbyinc/flux/index/deletionpolicy/KeepLastNDeletionPolicyAcom/groupbyinc/flux/index/deletionpolicy/AbstractESDeletionPolicyKeepLastNDeletionPolicy.java	numToKeepIe(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/settings/IndexSettingsService;)V*Lcom/groupbyinc/flux/common/inject/Inject;7com/groupbyinc/flux/index/settings/IndexSettingsServicegetSettings0()Lcom/groupbyinc/flux/common/settings/Settings;

Z(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/common/settings/Settings;)V

indexSettings.Lcom/groupbyinc/flux/common/settings/Settings;	 index.deletionpolicy.num_to_keepjava/lang/IntegervalueOf(I)Ljava/lang/Integer;
,com/groupbyinc/flux/common/settings/Settings getAsInt:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;"#
!$intValue()I&'
(	*logger-Lcom/groupbyinc/flux/common/logging/ESLogger;,-	.8Using [keep_last_n] deletion policy with num_to_keep[{}]0java/lang/Object2+com/groupbyinc/flux/common/logging/ESLogger4debug((Ljava/lang/String;[Ljava/lang/Object;)V6758thisBLcom/groupbyinc/flux/index/deletionpolicy/KeepLastNDeletionPolicy;shardId)Lcom/groupbyinc/flux/index/shard/ShardId;indexSettingsService9Lcom/groupbyinc/flux/index/settings/IndexSettingsService;onInit(Ljava/util/List;)Vjava/io/IOExceptionB	doDeletesDA
EcommitsOLjava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;>;Ljava/util/List;onCommitjava/util/ListKsizeM'LNget(I)Ljava/lang/Object;PQLR:com/groupbyinc/flux/common/apache/lucene/index/IndexCommitTdelete()VVW
UXinodeName()Ljava/lang/String;[\
]
_+()Lcom/groupbyinc/flux/index/shard/ShardId;<a
bCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
Exceptions	SignatureR(Ljava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;>;)V
StackMapTable
SourceFile!	d?7*+,??**???%?)?+*?/1?3Y*?+?S?9?e 7:;7<=7>?f'	()6*g
@AdP*+?F?e:;GIhGHf
/0iCjkJAdP*+?F?e:;GIhGHf
45iCjkDAd?'+?O=>*?+d?+?S?U?Y????e*	Z':;'GI Mh'GHf89: 9&<l
?	?jkA[\d/*?^?e:;f!Ad/*?`?e:;f!A<ad/*?c?e:;f!m




© 2015 - 2025 Weber Informatics LLC | Privacy Policy