Package org.apache.lucene.store
Class LockStressTest
- java.lang.Object
-
- org.apache.lucene.store.LockStressTest
-
public class LockStressTest extends java.lang.Object
Simple standalone tool that forever acquires and releases a lock using a specific LockFactory. Run without any args to see usage.- See Also:
VerifyingLockFactory
,LockVerifyServer
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
LOCK_FILE_NAME
-
Constructor Summary
Constructors Constructor Description LockStressTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static FSLockFactory
getNewLockFactory(java.lang.String lockFactoryClassName)
static void
main(java.lang.String[] args)
-
-
-
Field Detail
-
LOCK_FILE_NAME
static final java.lang.String LOCK_FILE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getNewLockFactory
private static FSLockFactory getNewLockFactory(java.lang.String lockFactoryClassName) throws java.io.IOException
- Throws:
java.io.IOException
-
-