Record Class BlockfileMergerParams.BlockfileMergerReadParams
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.io.merge.BlockfileMergerParams.BlockfileMergerReadParams
- Enclosing class:
BlockfileMergerParams
public static record BlockfileMergerParams.BlockfileMergerReadParams(int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileMergerReadParams(int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec) Creates an instance of aBlockfileMergerReadParamsrecord 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
-
BlockfileMergerReadParams
public BlockfileMergerReadParams(int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec) Creates an instance of aBlockfileMergerReadParamsrecord 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
-
hashCode
-
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
-