Package demo

Class TestNioLock

java.lang.Object
demo.TestNioLock

public class TestNioLock extends Object
A simple tool to check file locking on your OS/FS/Java combo. To use this tool, just copy it to basedir on the volume you plan to use as local repository and compile and run it:
  • javac demo.TestNioLock.java
  • java demo.TestNioLock test someFile 1000