public final class NoLockFactory extends LockFactory
LockFactoryto disable locking entirely. This is a singleton, you have to use
|Modifier and Type||Field and Description|
|Modifier and Type||Method and Description|
Return a new obtained Lock instance identified by lockName.
public static final NoLockFactory INSTANCE
public Lock obtainLock(Directory dir, String lockName)
lockName- name of the lock to be created.
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.