public class DoubleCheckedReservation extends ReductionCheckedDataReservation<DoubleConsumer,DoubleSupplier>
exists
applier, extractor
Constructor and Description |
---|
DoubleCheckedReservation(DoubleConsumer applier,
DoubleSupplier extractor,
BooleanSupplier exists) |
Modifier and Type | Method and Description |
---|---|
DoubleCheckedDataReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
DoubleCheckedDataWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public DoubleCheckedReservation(DoubleConsumer applier, DoubleSupplier extractor, BooleanSupplier exists)
public DoubleCheckedDataReader createReadStream(DataInput input)
ReductionDataReservation
ReductionDataReader
that merges the set of data this reservation represents.createReadStream
in class ReductionDataReservation<DoubleConsumer,DoubleSupplier>
input
- the shard input streampublic DoubleCheckedDataWriter createWriteStream(DataOutput output)
ReductionDataReservation
ReductionDataWriter
that exports the set of data this reservation represents.createWriteStream
in class ReductionDataReservation<DoubleConsumer,DoubleSupplier>
output
- the shard output streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.