Package io.datarouter.bytes.kvfile
Record Class KvFileMerger.KvFileMergerParams
java.lang.Object
java.lang.Record
io.datarouter.bytes.kvfile.KvFileMerger.KvFileMergerParams
- Enclosing class:
- KvFileMerger
public static record KvFileMerger.KvFileMergerParams(KvFileMerger.KvFileMergerStorageParams storageParams, KvFileMerger.KvFileMergerByteReaderParams byteReaderParams, KvFileMerger.KvFileMergerKvReaderParams kvReaderParams, KvFileMerger.KvFileMergerEncodeParams encodeParams, KvFileMerger.KvFileMergerWriteParams writeParams, Duration heartbeatPeriod, Duration logPeriod)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKvFileMergerParams(KvFileMerger.KvFileMergerStorageParams storageParams, KvFileMerger.KvFileMergerByteReaderParams byteReaderParams, KvFileMerger.KvFileMergerKvReaderParams kvReaderParams, KvFileMerger.KvFileMergerEncodeParams encodeParams, KvFileMerger.KvFileMergerWriteParams writeParams, Duration heartbeatPeriod, Duration logPeriod) Creates an instance of aKvFileMergerParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebyteReaderParamsrecord component.Returns the value of theencodeParamsrecord component.final 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 thekvReaderParamsrecord component.Returns the value of thelogPeriodrecord 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
-
KvFileMergerParams
public KvFileMergerParams(KvFileMerger.KvFileMergerStorageParams storageParams, KvFileMerger.KvFileMergerByteReaderParams byteReaderParams, KvFileMerger.KvFileMergerKvReaderParams kvReaderParams, KvFileMerger.KvFileMergerEncodeParams encodeParams, KvFileMerger.KvFileMergerWriteParams writeParams, Duration heartbeatPeriod, Duration logPeriod) Creates an instance of aKvFileMergerParamsrecord class.- Parameters:
storageParams- the value for thestorageParamsrecord componentbyteReaderParams- the value for thebyteReaderParamsrecord componentkvReaderParams- the value for thekvReaderParamsrecord componentencodeParams- the value for theencodeParamsrecord componentwriteParams- the value for thewriteParamsrecord componentheartbeatPeriod- the value for theheartbeatPeriodrecord componentlogPeriod- the value for thelogPeriodrecord 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. 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
-
byteReaderParams
Returns the value of thebyteReaderParamsrecord component.- Returns:
- the value of the
byteReaderParamsrecord component
-
kvReaderParams
Returns the value of thekvReaderParamsrecord component.- Returns:
- the value of the
kvReaderParamsrecord component
-
encodeParams
Returns the value of theencodeParamsrecord component.- Returns:
- the value of the
encodeParamsrecord 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
-
logPeriod
Returns the value of thelogPeriodrecord component.- Returns:
- the value of the
logPeriodrecord component
-