Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LockStressTest

        public LockStressTest()
    • 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