org.apache.lucene.gdata.storage.lucenestorage
Class SingleHostConcurrentStorageLock
java.lang.Object
org.apache.lucene.gdata.storage.lucenestorage.SingleHostConcurrentStorageLock
- All Implemented Interfaces:
- ConcurrentStorageLock
public class SingleHostConcurrentStorageLock
- extends Object
- implements ConcurrentStorageLock
- Author:
- Simon Willnauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getConcurrentStorageLock
protected static ConcurrentStorageLock getConcurrentStorageLock()
setLock
public boolean setLock(String key)
- Specified by:
setLock
in interface ConcurrentStorageLock
- Returns:
- See Also:
ConcurrentStorageLock.setLock(java.lang.String)
releaseLock
public boolean releaseLock(String key)
- Specified by:
releaseLock
in interface ConcurrentStorageLock
- Returns:
- See Also:
ConcurrentStorageLock.releaseLock(java.lang.String)
releaseThreadLocks
public boolean releaseThreadLocks()
- Specified by:
releaseThreadLocks
in interface ConcurrentStorageLock
- Returns:
- See Also:
ConcurrentStorageLock.releaseThreadLocks()
isKeyLocked
public boolean isKeyLocked(String key)
- Specified by:
isKeyLocked
in interface ConcurrentStorageLock
- Returns:
- See Also:
ConcurrentStorageLock.isKeyLocked(java.lang.String)
close
public void close()
- Specified by:
close
in interface ConcurrentStorageLock
- See Also:
ConcurrentStorageLock.close()
forceClear
protected void forceClear()
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.