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:
CloseableIndexComponent, IndexComponent, IndexStore

public class RamIndexStore
extends AbstractIndexStore


Field Summary
 
Fields inherited from class org.elasticsearch.index.store.support.AbstractIndexStore
indexService, indicesStore
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
RamIndexStore(Index index, Settings indexSettings, IndexService indexService, IndicesStore indicesStore)
           
 
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.
 Class<? extends DirectoryService> shardDirectory()
          The shard store class that should be used for each shard.
 
Methods inherited from class org.elasticsearch.index.store.support.AbstractIndexStore
canDeleteUnallocated, close, deleteUnallocated, indicesStore, rateLimiting
 
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
 

Constructor Detail

RamIndexStore

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

persistent

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


shardDirectory

public Class<? extends DirectoryService> shardDirectory()
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.



Copyright © 2009-2012. All Rights Reserved.