| Package | Description |
|---|---|
| net.openhft.chronicle.bytes.domestic |
The package contains classes related to handling bytes in a reentrant manner.
|
| Modifier and Type | Method and Description |
|---|---|
static ReentrantFileLock |
ReentrantFileLock.lock(File file,
FileChannel fileChannel)
Take an exclusive lock on the entire file, blocks until lock is acquired
|
static @Nullable ReentrantFileLock |
ReentrantFileLock.tryLock(File file,
FileChannel fileChannel)
Try and take an exclusive lock on the entire file, non-blocking
|
Copyright © 2024. All rights reserved.