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
|
public static final NoLockFactory INSTANCE
public Lock makeLock(Directory dir, String lockName)
LockFactorymakeLock in class LockFactorylockName - name of the lock to be created.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.