Package com._1c.g5.v8.bm.store
Class BmDurableIndexManager
- java.lang.Object
- 
- com._1c.g5.v8.bm.store.BmDurableIndexManager
 
- 
- All Implemented Interfaces:
- IBmIndexManager
 
 public final class BmDurableIndexManager extends Object implements IBmIndexManager Durable index manager implementation. The indexes created by this manager survive the process termination.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com._1c.g5.v8.bm.store.IBmIndexManagerIBmIndexManager.BmIndexOptions, IBmIndexManager.BmIndexValueKind
 
- 
 - 
Constructor SummaryConstructors Constructor Description BmDurableIndexManager(File storeDirectory)Constructs a new instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteIndex(String name)Deletes the index with the specified name.<P> IBmPersistentIndex<P>getIndex(String name, IBmIndexManager.BmIndexValueKind valueKind, IBmIndexManager.BmIndexOptions... keys)P are any Java class or array.<P> IBmLongPersistentIndex<P>getLongIndex(String name, IBmIndexManager.BmIndexValueKind valueKind, IBmIndexManager.BmIndexOptions... keys)P are any Java class or array.voidstart()Starts the index manager.voidstop()Stops the index manager.
 
- 
- 
- 
Constructor Detail- 
BmDurableIndexManagerpublic BmDurableIndexManager(File storeDirectory) Constructs a new instance.- Parameters:
- storeDirectory- The directory where index data are stored. May not be- null.
 
 
- 
 - 
Method Detail- 
deleteIndexpublic void deleteIndex(String name) Description copied from interface:IBmIndexManagerDeletes the index with the specified name.- Specified by:
- deleteIndexin interface- IBmIndexManager
- Parameters:
- name- The name. May not be- null.
 
 - 
getIndexpublic <P> IBmPersistentIndex<P> getIndex(String name, IBmIndexManager.BmIndexValueKind valueKind, IBmIndexManager.BmIndexOptions... keys) Description copied from interface:IBmIndexManagerP are any Java class or array. Classes should be on java classpath. At the moment because of implementation support of custom POJO are not possible. keys could be any of {BmIndexOptions} options.- Specified by:
- getIndexin interface- IBmIndexManager
 
 - 
getLongIndexpublic <P> IBmLongPersistentIndex<P> getLongIndex(String name, IBmIndexManager.BmIndexValueKind valueKind, IBmIndexManager.BmIndexOptions... keys) Description copied from interface:IBmIndexManagerP are any Java class or array. Classes should be on java classpath. At the moment because of implementation support of custom POJO are not possible. keys could be any of {BmIndexOptions} options.- Specified by:
- getLongIndexin interface- IBmIndexManager
 
 - 
startpublic void start() Description copied from interface:IBmIndexManagerStarts the index manager.- Specified by:
- startin interface- IBmIndexManager
 
 - 
stoppublic void stop() Description copied from interface:IBmIndexManagerStops the index manager.- Specified by:
- stopin interface- IBmIndexManager
 
 
- 
 
-