Package com.illumon.iris.db.tables.utils
Class FileLockManager
java.lang.Object
com.illumon.iris.db.tables.utils.FileLockManager
public class FileLockManager extends Object
Provides a mechanism for intra-process thread-safe file locking, used as machine-scope readers-writers lock.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
FileLockManager.FileLockWrapper
-
Method Summary
Modifier and Type Method Description static FileLockManager
get(File file)
FileLockManager.FileLockWrapper
lock(boolean shared)