org.elasticsearch.index.store.support
Class AbstractIndexStore
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.store.support.AbstractIndexStore
- All Implemented Interfaces:
- IndexComponent, IndexStore
- Direct Known Subclasses:
- ByteBufferIndexStore, FsIndexStore, RamIndexStore
public abstract class AbstractIndexStore
- extends AbstractIndexComponent
- implements IndexStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indexService
protected final IndexService indexService
AbstractIndexStore
protected AbstractIndexStore(Index index,
@IndexSettings
Settings indexSettings,
IndexService indexService)
deleteUnallocated
public void deleteUnallocated(ShardId shardId)
throws java.io.IOException
- Specified by:
deleteUnallocated
in interface IndexStore
- Throws:
java.io.IOException
listUnallocatedStores
public IndexStore.StoreFilesMetaData[] listUnallocatedStores()
throws java.io.IOException
- Description copied from interface:
IndexStore
- Lists all unallocated stores.
- Specified by:
listUnallocatedStores
in interface IndexStore
- Throws:
java.io.IOException
listStoreMetaData
public IndexStore.StoreFilesMetaData listStoreMetaData(ShardId shardId)
throws java.io.IOException
- Description copied from interface:
IndexStore
- Lists the store files metadata for a shard. Note, this should be able to list also
metadata for shards that are no allocated as well.
- Specified by:
listStoreMetaData
in interface IndexStore
- Throws:
java.io.IOException
listUnallocatedStoreMetaData
protected IndexStore.StoreFilesMetaData listUnallocatedStoreMetaData(ShardId shardId)
throws java.io.IOException
- Throws:
java.io.IOException