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

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

ByteBufferIndexStore

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