|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.shard.AbstractIndexShardComponent org.elasticsearch.index.deletionpolicy.KeepLastNDeletionPolicy
public class KeepLastNDeletionPolicy
Field Summary |
---|
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent |
---|
componentSettings, indexSettings, logger, shardId |
Constructor Summary | |
---|---|
KeepLastNDeletionPolicy(ShardId shardId,
Settings indexSettings)
|
Method Summary | |
---|---|
void |
onCommit(java.util.List<? extends org.apache.lucene.index.IndexCommit> commits)
|
void |
onInit(java.util.List<? extends org.apache.lucene.index.IndexCommit> commits)
|
Methods inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent |
---|
indexSettings, managementGroupName, nodeName, shardId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public KeepLastNDeletionPolicy(ShardId shardId, @IndexSettings Settings indexSettings)
Method Detail |
---|
public void onInit(java.util.List<? extends org.apache.lucene.index.IndexCommit> commits) throws java.io.IOException
onInit
in interface org.apache.lucene.index.IndexDeletionPolicy
java.io.IOException
public void onCommit(java.util.List<? extends org.apache.lucene.index.IndexCommit> commits) throws java.io.IOException
onCommit
in interface org.apache.lucene.index.IndexDeletionPolicy
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |