org.compass.core.lucene.engine.store.wrapper
Class SyncMemoryMirrorDirectoryWrapperProvider
java.lang.Object
org.compass.core.lucene.engine.store.wrapper.SyncMemoryMirrorDirectoryWrapperProvider
- All Implemented Interfaces:
- DirectoryWrapperProvider
public class SyncMemoryMirrorDirectoryWrapperProvider
- extends Object
- implements DirectoryWrapperProvider
Wraps a Lucene Directory with SyncMemoryMirrorDirectoryWrapper.
- Author:
- kimchy
- See Also:
SyncMemoryMirrorDirectoryWrapper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncMemoryMirrorDirectoryWrapperProvider
public SyncMemoryMirrorDirectoryWrapperProvider()
wrap
public Directory wrap(String subIndex,
Directory dir)
throws SearchEngineException
- Description copied from interface:
DirectoryWrapperProvider
- Wraps the given directory, and returns the wrapped directory instance.
- Specified by:
wrap in interface DirectoryWrapperProvider
- Parameters:
subIndex - The sub index the directory is associated withdir - The directory to wrap
- Returns:
- The wrapped directory
- Throws:
SearchEngineException
Copyright (c) 2004-2008 The Compass Project.