ThrottledIndexOutput

Intentionally slow IndexOutput for testing.

Constructors

Link copied to clipboard
constructor(bytesPerSecond: Int, delayInMillis: Long, out: IndexOutput?)
constructor(bytesPerSecond: Int, delays: Long, minBytesWritten: Int, out: IndexOutput?)
constructor(bytesPerSecond: Int, flushDelayMillis: Long, closeDelayMillis: Long, seekDelayMillis: Long, minBytesWritten: Long, out: IndexOutput?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val filePointer: Long
Link copied to clipboard
open var name: String?

Functions

Link copied to clipboard
fun alignFilePointer(alignmentBytes: Int): Long
Link copied to clipboard
open override fun close()
Link copied to clipboard
open fun copyBytes(input: DataInput, numBytes: Long)
Link copied to clipboard
open override fun getChecksum(): Long
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun writeByte(b: Byte)
Link copied to clipboard
open fun writeBytes(b: ByteArray, length: Int)
open override fun writeBytes(b: ByteArray, offset: Int, length: Int)
Link copied to clipboard
fun writeGroupVInts(values: IntArray, limit: Int)
fun writeGroupVInts(values: LongArray, limit: Int)
Link copied to clipboard
open fun writeInt(i: Int)
Link copied to clipboard
open fun writeLong(i: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun writeShort(i: Short)
Link copied to clipboard
open fun writeString(s: String)
Link copied to clipboard
fun writeVInt(i: Int)
Link copied to clipboard
Link copied to clipboard
fun writeZInt(i: Int)
Link copied to clipboard