public final class SingleInstanceLockFactory extends LockFactory
LockFactoryfor a single in-process instance, meaning all locking will take place through this one instance. Only use this
LockFactorywhen you are certain all IndexReaders and IndexWriters for a given index are running against a single shared in-process Directory instance. This is currently the default locking for RAMDirectory.
|Constructor and Description|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.