org.elasticsearch.index.indexing
Class ShardIndexingService

java.lang.Object
  extended by org.elasticsearch.index.shard.AbstractIndexShardComponent
      extended by org.elasticsearch.index.indexing.ShardIndexingService
All Implemented Interfaces:
IndexShardComponent

public class ShardIndexingService
extends AbstractIndexShardComponent


Field Summary
 
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
 
Constructor Summary
ShardIndexingService(ShardId shardId, Settings indexSettings)
           
 
Method Summary
 void addListener(IndexingOperationListener listener)
           
 void clear()
           
 void failedDelete(Engine.Delete delete)
           
 void failedIndex(Engine.Index index)
           
 void postCreate(Engine.Create create)
           
 void postCreateUnderLock(Engine.Create create)
           
 void postDelete(Engine.Delete delete)
           
 void postDeleteByQuery(Engine.DeleteByQuery deleteByQuery)
           
 void postDeleteUnderLock(Engine.Delete delete)
           
 void postIndex(Engine.Index index)
           
 void postIndexUnderLock(Engine.Index index)
           
 Engine.Create preCreate(Engine.Create create)
           
 Engine.Delete preDelete(Engine.Delete delete)
           
 Engine.DeleteByQuery preDeleteByQuery(Engine.DeleteByQuery deleteByQuery)
           
 Engine.Index preIndex(Engine.Index index)
           
 void removeListener(IndexingOperationListener listener)
           
 IndexingStats stats(String... types)
          Returns the stats, including type specific stats.
 
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

ShardIndexingService

@Inject
public ShardIndexingService(ShardId shardId,
                                   @IndexSettings
                                   Settings indexSettings)
Method Detail

stats

public IndexingStats stats(String... types)
Returns the stats, including type specific stats. If the types are null/0 length, then nothing is returned for them. If they are set, then only types provided will be returned, or _all for all types.


addListener

public void addListener(IndexingOperationListener listener)

removeListener

public void removeListener(IndexingOperationListener listener)

preCreate

public Engine.Create preCreate(Engine.Create create)

postCreateUnderLock

public void postCreateUnderLock(Engine.Create create)

postCreate

public void postCreate(Engine.Create create)

preIndex

public Engine.Index preIndex(Engine.Index index)

postIndexUnderLock

public void postIndexUnderLock(Engine.Index index)

postIndex

public void postIndex(Engine.Index index)

failedIndex

public void failedIndex(Engine.Index index)

preDelete

public Engine.Delete preDelete(Engine.Delete delete)

postDeleteUnderLock

public void postDeleteUnderLock(Engine.Delete delete)

postDelete

public void postDelete(Engine.Delete delete)

failedDelete

public void failedDelete(Engine.Delete delete)

preDeleteByQuery

public Engine.DeleteByQuery preDeleteByQuery(Engine.DeleteByQuery deleteByQuery)

postDeleteByQuery

public void postDeleteByQuery(Engine.DeleteByQuery deleteByQuery)

clear

public void clear()


Copyright © 2009-2012. All Rights Reserved.