org.neo4j.graphdb.index
Interface BatchInserterIndex

All Superinterfaces:
BatchInserterIndex

Deprecated. this interface has been moved to BatchInserterIndex as of version 1.7

public interface BatchInserterIndex
extends BatchInserterIndex

The BatchInserter version of Index. Additions/updates to a BatchInserterIndex doesn't necessarily gets added to the actual index immediately, but are instead forced to be written when the index is shut down, BatchInserterIndexProvider.shutdown(). To guarantee additions/updates are seen by BatchInserterIndex.updateOrAdd(long, Map), BatchInserterIndex.get(String, Object), BatchInserterIndex.query(String, Object) and BatchInserterIndex.query(Object) a call to BatchInserterIndex.flush() must be made prior to calling such a method. This enables implementations more flexibility in making for performance optimizations.


Method Summary
 
Methods inherited from interface org.neo4j.unsafe.batchinsert.BatchInserterIndex
add, flush, get, query, query, setCacheCapacity, updateOrAdd
 



Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.