org.elasticsearch.index.store.memory
Class ByteBufferIndexStore

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

public class ByteBufferIndexStore
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
ByteBufferIndexStore(Index index, Settings indexSettings, IndexService indexService, ByteBufferCache byteBufferCache)
           
 
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

ByteBufferIndexStore

@Inject
public ByteBufferIndexStore(Index index,
                                   @IndexSettings
                                   Settings indexSettings,
                                   IndexService indexService,
                                   ByteBufferCache byteBufferCache)
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.