Class IndexedMapVolatile<Value extends Storable>

java.lang.Object
com.codingchili.core.storage.IndexedMap<Value>
com.codingchili.core.storage.IndexedMapVolatile<Value>
All Implemented Interfaces:
AsyncStorage<Value>

public class IndexedMapVolatile<Value extends Storable> extends IndexedMap<Value>
A storage implementation that is local and indexed. Always use this when using queries. The indexing is fully based on CQEngine. see http://github.com/npgall/cqengine The db/collection is shared over multiple instances.
  • Constructor Details

  • Method Details

    • addIndexesForAttribute

      public void addIndexesForAttribute(com.googlecode.cqengine.attribute.Attribute<Value,​String> attribute)
      Specified by:
      addIndexesForAttribute in class IndexedMap<Value extends Storable>
      Parameters:
      attribute - the attribute to add an index for based on implementation.