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<ByteBufferDirectory>
          extended by org.elasticsearch.index.store.memory.ByteBufferStore
All Implemented Interfaces:
IndexShardComponent, Store<ByteBufferDirectory>

public class ByteBufferStore
extends AbstractStore<ByteBufferDirectory>


Field Summary
 
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
 
Constructor Summary
ByteBufferStore(ShardId shardId, Settings indexSettings)
           
 
Method Summary
 ByteBufferDirectory 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, deleteContent, estimateSize, fullDelete
 
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)
Method Detail

directory

public ByteBufferDirectory 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<ByteBufferDirectory>
Overrides:
suggestUseCompoundFile in class AbstractStore<ByteBufferDirectory>