org.elasticsearch.index.store.memory
Class HeapStore

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

public class HeapStore
extends AbstractStore<HeapDirectory>


Field Summary
 
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
 
Constructor Summary
HeapStore(ShardId shardId, Settings indexSettings)
           
 
Method Summary
 HeapDirectory 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

HeapStore

@Inject
public HeapStore(ShardId shardId,
                        @IndexSettings
                        Settings indexSettings)
Method Detail

directory

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