Class InternalStrideSample<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
java.lang.Object
io.datarouter.storage.op.scan.stride.internal.InternalStrideSample<PK>
public class InternalStrideSample<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>> extends Object
-
Field Summary
Fields Modifier and Type Field Description booleaninterruptedPKlastSeenKeylongnumKeysTransferredlongnumRpcsio.datarouter.util.tuple.Range<PK>rangelongsampleCountStringstrategy -
Constructor Summary
Constructors Constructor Description InternalStrideSample(String strategy, io.datarouter.util.tuple.Range<PK> range, PK lastSeenKey, long numRpcs, long numKeysTransferred, long sampleCount, boolean interrupted) -
Method Summary
Modifier and Type Method Description StrideSample<PK>toStrideSample(long totalCount, boolean isLast)StringtoString()
-
Field Details
-
strategy
-
range
-
lastSeenKey
-
numRpcs
public final long numRpcs -
numKeysTransferred
public final long numKeysTransferred -
sampleCount
public final long sampleCount -
interrupted
public final boolean interrupted
-
-
Constructor Details
-
Method Details