public class LockReference extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FileChannel |
channel |
protected FileLock |
lock |
| Constructor and Description |
|---|
LockReference(FileChannel channel,
FileLock lock) |
| Modifier and Type | Method and Description |
|---|---|
FileChannel |
getChannel() |
protected final FileChannel channel
protected final FileLock lock
public LockReference(FileChannel channel, FileLock lock)
public FileChannel getChannel()
Copyright © 2022. All rights reserved.