org.compass.needle.terracotta
Class TerracottaManagerUtilLockFactory

java.lang.Object
  extended by org.apache.lucene.store.LockFactory
      extended by org.compass.needle.terracotta.TerracottaManagerUtilLockFactory

public class TerracottaManagerUtilLockFactory
extends LockFactory

A Terracotta ManagerUtil based lock factory.

Currently disabled since locking does not seem to work.

Author:
kimchy

Constructor Summary
TerracottaManagerUtilLockFactory()
           
TerracottaManagerUtilLockFactory(String lockPrefix)
           
 
Method Summary
 void clearLock(String lockName)
           
 Lock makeLock(String lockName)
           
 
Methods inherited from class org.apache.lucene.store.LockFactory
getLockPrefix, setLockPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerracottaManagerUtilLockFactory

public TerracottaManagerUtilLockFactory()

TerracottaManagerUtilLockFactory

public TerracottaManagerUtilLockFactory(String lockPrefix)
Method Detail

makeLock

public Lock makeLock(String lockName)
Specified by:
makeLock in class LockFactory

clearLock

public void clearLock(String lockName)
               throws IOException
Specified by:
clearLock in class LockFactory
Throws:
IOException


Copyright (c) 2004-2008 The Compass Project.