Java.Nio.Channels.FileLock: Method Members

The methods of Java.Nio.Channels.FileLock are listed below. For a list of all members, see the FileLock Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AcquiredBy() : IChannel
Documentation for this section has not yet been entered.
Channel() : FileChannel
Returns the lock's Java.Nio.Channels.FileChannel.
Close()
Calls FileLock.Release for AutoCloseable.
Overlaps(long, long) : bool
Indicates if the receiver's lock region overlaps the region described in the parameter list.
Position() : long
Returns the lock's starting position in the file.
abstract
Release()
Releases this particular lock on the file.
Size() : long
Returns the length of the file lock in bytes.
override
ToString() : string
Returns a string that shows the details of the lock suitable for debugging.