Record Class BlockfileMergerParams
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.io.merge.BlockfileMergerParams
public record BlockfileMergerParams(BlockfileMergerParams.BlockfileMergerStorageParams storageParams, BlockfileMergerParams.BlockfileMergerReadParams readParams, BlockfileMergerParams.BlockfileMergerWriteParams writeParams, Duration heartbeatPeriod)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionBlockfileMergerParams(BlockfileMergerParams.BlockfileMergerStorageParams storageParams, BlockfileMergerParams.BlockfileMergerReadParams readParams, BlockfileMergerParams.BlockfileMergerWriteParams writeParams, Duration heartbeatPeriod) Creates an instance of aBlockfileMergerParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theheartbeatPeriodrecord component.Returns the value of thereadParamsrecord component.Returns the value of thestorageParamsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewriteParamsrecord component.
-
Constructor Details
-
BlockfileMergerParams
public BlockfileMergerParams(BlockfileMergerParams.BlockfileMergerStorageParams storageParams, BlockfileMergerParams.BlockfileMergerReadParams readParams, BlockfileMergerParams.BlockfileMergerWriteParams writeParams, Duration heartbeatPeriod) Creates an instance of aBlockfileMergerParamsrecord class.- Parameters:
storageParams- the value for thestorageParamsrecord componentreadParams- the value for thereadParamsrecord componentwriteParams- the value for thewriteParamsrecord componentheartbeatPeriod- the value for theheartbeatPeriodrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
storageParams
Returns the value of thestorageParamsrecord component.- Returns:
- the value of the
storageParamsrecord component
-
readParams
Returns the value of thereadParamsrecord component.- Returns:
- the value of the
readParamsrecord component
-
writeParams
Returns the value of thewriteParamsrecord component.- Returns:
- the value of the
writeParamsrecord component
-
heartbeatPeriod
Returns the value of theheartbeatPeriodrecord component.- Returns:
- the value of the
heartbeatPeriodrecord component
-