public class KeepLastNDeletionPolicy
extends org.apache.lucene.index.IndexDeletionPolicy
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Settings |
indexSettings |
protected ESLogger |
logger |
protected ShardId |
shardId |
| コンストラクタと説明 |
|---|
KeepLastNDeletionPolicy(ShardId shardId,
IndexSettingsService indexSettingsService) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Settings |
indexSettings() |
String |
nodeName() |
void |
onCommit(List<? extends org.apache.lucene.index.IndexCommit> commits) |
void |
onInit(List<? extends org.apache.lucene.index.IndexCommit> commits) |
ShardId |
shardId() |
protected final ESLogger logger
protected final ShardId shardId
protected final Settings indexSettings
@Inject public KeepLastNDeletionPolicy(ShardId shardId, IndexSettingsService indexSettingsService)
public void onInit(List<? extends org.apache.lucene.index.IndexCommit> commits) throws IOException
onInit クラス内 org.apache.lucene.index.IndexDeletionPolicyIOExceptionpublic void onCommit(List<? extends org.apache.lucene.index.IndexCommit> commits) throws IOException
onCommit クラス内 org.apache.lucene.index.IndexDeletionPolicyIOExceptionpublic ShardId shardId()
shardId インタフェース内 IndexShardComponentpublic Settings indexSettings()
indexSettings インタフェース内 IndexShardComponentpublic String nodeName()
Copyright © 2009–2016. All rights reserved.