org.elasticsearch.index.store.ram
Class RamStore

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

public class RamStore
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
RamStore(ShardId shardId, Settings indexSettings, IndexStore indexStore)
           
 
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

RamStore

@Inject
public RamStore(ShardId shardId,
                       @IndexSettings
                       Settings indexSettings,
                       IndexStore indexStore)
         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