org.compass.core.lucene.engine.store.wrapper
Class SyncMemoryMirrorDirectoryWrapperProvider

java.lang.Object
  extended by 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

Constructor Summary
SyncMemoryMirrorDirectoryWrapperProvider()
           
 
Method Summary
 Directory wrap(String subIndex, Directory dir)
          Wraps the given directory, and returns the wrapped directory instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncMemoryMirrorDirectoryWrapperProvider

public SyncMemoryMirrorDirectoryWrapperProvider()
Method Detail

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 with
dir - The directory to wrap
Returns:
The wrapped directory
Throws:
SearchEngineException


Copyright (c) 2004-2009 The Compass Project.