BufferKey

class BufferKey(fileHandle: IOSystem.FileHandle, startPosition: Long)

A BufferKey identifies a file buffer in the cache.

Parameters

fileHandle

The FileHandle that represents the provenance of the associated buffer.

startPosition

The start position of the buffer within the underlying file. This value is measured in bytes, and need not be aligned.

Constructors

Link copied to clipboard
fun BufferKey(fileHandle: IOSystem.FileHandle, startPosition: Long)

Construct a new buffer key, used to identify a buffer in the global cache.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int