Package io.datarouter.bytes.kvfile.merge
Record Class KvFileMergerParams.Nested.KvFileMergerReadParams
java.lang.Object
java.lang.Record
io.datarouter.bytes.kvfile.merge.KvFileMergerParams.Nested.KvFileMergerReadParams
- Enclosing class:
KvFileMergerParams.Nested
public static record KvFileMergerParams.Nested.KvFileMergerReadParams(int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKvFileMergerReadParams(int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec) Creates an instance of aKvFileMergerReadParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thedecodeBatchSizerecord component.Returns the value of thedecodeExecrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thememoryFanInrecord component.Returns the value of theprefetchExecrecord component.Returns the value of thereadBufferSizerecord component.Returns the value of thereadChunkSizerecord component.readExec()Returns the value of thereadExecrecord component.intReturns the value of thestreamingFanInrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KvFileMergerReadParams
public KvFileMergerReadParams(int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec) Creates an instance of aKvFileMergerReadParamsrecord class.- Parameters:
memoryFanIn- the value for thememoryFanInrecord componentstreamingFanIn- the value for thestreamingFanInrecord componentprefetchExec- the value for theprefetchExecrecord componentreadBufferSize- the value for thereadBufferSizerecord componentreadChunkSize- the value for thereadChunkSizerecord componentreadExec- the value for thereadExecrecord componentdecodeBatchSize- the value for thedecodeBatchSizerecord componentdecodeExec- the value for thedecodeExecrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
memoryFanIn
public int memoryFanIn()Returns the value of thememoryFanInrecord component.- Returns:
- the value of the
memoryFanInrecord component
-
streamingFanIn
public int streamingFanIn()Returns the value of thestreamingFanInrecord component.- Returns:
- the value of the
streamingFanInrecord component
-
prefetchExec
Returns the value of theprefetchExecrecord component.- Returns:
- the value of the
prefetchExecrecord component
-
readBufferSize
Returns the value of thereadBufferSizerecord component.- Returns:
- the value of the
readBufferSizerecord component
-
readChunkSize
Returns the value of thereadChunkSizerecord component.- Returns:
- the value of the
readChunkSizerecord component
-
readExec
Returns the value of thereadExecrecord component.- Returns:
- the value of the
readExecrecord component
-
decodeBatchSize
public int decodeBatchSize()Returns the value of thedecodeBatchSizerecord component.- Returns:
- the value of the
decodeBatchSizerecord component
-
decodeExec
Returns the value of thedecodeExecrecord component.- Returns:
- the value of the
decodeExecrecord component
-