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