org.elasticsearch.index
Interface CloseableIndexComponent

All Known Subinterfaces:
IndexGateway, IndexService, IndexShardGateway
All Known Implementing Classes:
BlobStoreIndexGateway, BlobStoreIndexShardGateway, FsIndexGateway, FsIndexShardGateway, IndexShardGatewayService, InternalIndexService, LocalIndexGateway, LocalIndexShardGateway, NoneIndexGateway, NoneIndexShardGateway

public interface CloseableIndexComponent


Method Summary
 void close(boolean delete)
          Closes the index component.
 

Method Detail

close

void close(boolean delete)
           throws ElasticSearchException
Closes the index component. A boolean indicating if its part of an actual index deletion or not is passed.

Parameters:
delete - true if the index is being deleted.
Throws:
ElasticSearchException