org.compass.needle.terracotta
Class ManagedTerracottaLockFactoryAdapter

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

public class ManagedTerracottaLockFactoryAdapter
extends LockFactory

Author:
kimchy

Field Summary
 
Fields inherited from class org.apache.lucene.store.LockFactory
lockPrefix
 
Constructor Summary
ManagedTerracottaLockFactoryAdapter(ReadWriteLock rwl, LockFactory lockFactory)
           
 
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

ManagedTerracottaLockFactoryAdapter

public ManagedTerracottaLockFactoryAdapter(ReadWriteLock rwl,
                                           LockFactory lockFactory)
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-2009 The Compass Project.