org.elasticsearch.index.store.memory
Class ByteBufferStore

java.lang.Object
  extended by org.elasticsearch.index.shard.AbstractIndexShardComponent
      extended by org.elasticsearch.index.store.support.AbstractStore
          extended by org.elasticsearch.index.store.memory.ByteBufferStore
All Implemented Interfaces:
IndexShardComponent, Store

public class ByteBufferStore
extends AbstractStore


Field Summary
 
Fields inherited from class org.elasticsearch.index.store.support.AbstractStore
indexStore
 
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
 
Constructor Summary
ByteBufferStore(ShardId shardId, Settings indexSettings, IndexStore indexStore, ByteBufferCache byteBufferCache)
           
 
Method Summary
 org.apache.lucene.store.Directory directory()
          The Lucene Directory this store is using.
 boolean suggestUseCompoundFile()
          Its better to not use the compound format when using the Ram store.
 
Methods inherited from class org.elasticsearch.index.store.support.AbstractStore
close, createOutputWithNoChecksum, deleteContent, estimateSize, fullDelete, list, metaData, wrapDirectory, writeChecksum
 
Methods inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
indexSettings, managementGroupName, nodeName, shardId
 
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.shard.IndexShardComponent
indexSettings, shardId
 

Constructor Detail

ByteBufferStore

@Inject
public ByteBufferStore(ShardId shardId,
                              @IndexSettings
                              Settings indexSettings,
                              IndexStore indexStore,
                              ByteBufferCache byteBufferCache)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

directory

public org.apache.lucene.store.Directory directory()
Description copied from interface: Store
The Lucene Directory this store is using.


suggestUseCompoundFile

public boolean suggestUseCompoundFile()
Its better to not use the compound format when using the Ram store.

Specified by:
suggestUseCompoundFile in interface Store
Overrides:
suggestUseCompoundFile in class AbstractStore