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 java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description booleaninterruptedPKlastSeenKeylongnumKeysTransferredlongnumRpcsio.datarouter.util.tuple.Range<PK>rangelongsampleCountjava.lang.Stringstrategy -
Constructor Summary
Constructors Constructor Description InternalStrideSample(java.lang.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)java.lang.StringtoString()
-
Field Details
-
strategy
public final java.lang.String 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
-
toStrideSample
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-