Module jcifs

Class TestLocking

java.lang.Object
org.codelibs.jcifs.smb1.TestLocking
All Implemented Interfaces:
Runnable

public class TestLocking extends Object implements Runnable
Test class for SMB file locking operations. This class is used to test concurrent file access and locking behavior.
  • Constructor Details

    • TestLocking

      public TestLocking()
      Default constructor for TestLocking
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • main

      public static void main(String[] args) throws Exception
      Main method to run the locking test.
      Parameters:
      args - command line arguments: [-t numThreads] [-i numIter] [-d delay] url
      Throws:
      Exception - if an error occurs during test execution