org.compass.needle.coherence
Class DefaultCoherenceLockFactoryProvider

java.lang.Object
  extended by org.compass.needle.coherence.DefaultCoherenceLockFactoryProvider
All Implemented Interfaces:
LockFactoryProvider

public class DefaultCoherenceLockFactoryProvider
extends Object
implements LockFactoryProvider

A general lock factory provider based on Cohernce. Can be used as a distributed lock manager for other storage systems then Cohernece.

Author:
kimchy
See Also:
DefaultCoherenceLockFactory

Constructor Summary
DefaultCoherenceLockFactoryProvider()
           
 
Method Summary
 LockFactory createLockFactory(String path, String subContex, String subIndex, CompassSettings settings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCoherenceLockFactoryProvider

public DefaultCoherenceLockFactoryProvider()
Method Detail

createLockFactory

public LockFactory createLockFactory(String path,
                                     String subContex,
                                     String subIndex,
                                     CompassSettings settings)
                              throws SearchEngineException
Specified by:
createLockFactory in interface LockFactoryProvider
Throws:
SearchEngineException


Copyright (c) 2004-2008 The Compass Project.