org.elasticsearch.index.store.ram
Class RamIndexStore

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.store.support.AbstractIndexStore
          extended by org.elasticsearch.index.store.ram.RamIndexStore
All Implemented Interfaces:
IndexComponent, IndexStore

public class RamIndexStore
extends AbstractIndexStore


Field Summary
 
Fields inherited from class org.elasticsearch.index.store.support.AbstractIndexStore
indexService
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
RamIndexStore(Index index, Settings indexSettings, IndexService indexService)
           
 
Method Summary
 ByteSizeValue backingStoreFreeSpace()
          Returns the backing store free space.
 ByteSizeValue backingStoreTotalSpace()
          Returns the backing store total space.
 boolean persistent()
          Is the store a persistent store that can survive full restarts.
 java.lang.Class<? extends Store> shardStoreClass()
          The shard store class that should be used for each shard.
 
Methods inherited from class org.elasticsearch.index.store.support.AbstractIndexStore
deleteUnallocated
 
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
index, nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Constructor Detail

RamIndexStore

@Inject
public RamIndexStore(Index index,
                            @IndexSettings
                            Settings indexSettings,
                            IndexService indexService)
Method Detail

persistent

public boolean persistent()
Description copied from interface: IndexStore
Is the store a persistent store that can survive full restarts.


shardStoreClass

public java.lang.Class<? extends Store> shardStoreClass()
Description copied from interface: IndexStore
The shard store class that should be used for each shard.


backingStoreTotalSpace

public ByteSizeValue backingStoreTotalSpace()
Description copied from interface: IndexStore
Returns the backing store total space. Return -1 if not available.


backingStoreFreeSpace

public ByteSizeValue backingStoreFreeSpace()
Description copied from interface: IndexStore
Returns the backing store free space. Return -1 if not available.