public class FileBasedExclusiveLockProvider extends Object implements ExclusiveLockProvider
ExclusiveLockProvider using file-based locks.| Constructor and Description |
|---|
FileBasedExclusiveLockProvider() |
| Modifier and Type | Method and Description |
|---|---|
ExclusiveLock |
getLock(FileChannel fileChannel)
Retrieves an exclusive lock for the given file channel.
|
public ExclusiveLock getLock(FileChannel fileChannel)
ExclusiveLockProvidergetLock in interface ExclusiveLockProviderfileChannel - The file channel to acquire a lock on.ExclusiveLock.Copyright © 2005–2025 Onix Solutions. All rights reserved.