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)
ExclusiveLockProvider
getLock
in interface ExclusiveLockProvider
fileChannel
- The file channel to acquire a lock on.ExclusiveLock
.Copyright © 2005–2025 Onix Solutions. All rights reserved.