Class StrideSample<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>

java.lang.Object
io.datarouter.storage.op.scan.stride.StrideSample<PK>

public class StrideSample<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    boolean interrupted  
    boolean isLast  
    PK lastSeenKey  
    long numKeysTransferred  
    long numRpcs  
    io.datarouter.util.tuple.Range<PK> range  
    long sampleCount  
    java.lang.String strategy  
    long totalCount  
  • Constructor Summary

    Constructors 
    Constructor Description
    StrideSample​(java.lang.String strategy, io.datarouter.util.tuple.Range<PK> range, PK lastSeenKey, long numRpcs, long numKeysTransferred, long sampleCount, boolean interrupted, long totalCount, boolean isLast)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • strategy

      public final java.lang.String strategy
    • range

      public final io.datarouter.util.tuple.Range<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>> range
    • lastSeenKey

      public final PK extends io.datarouter.model.key.primary.PrimaryKey<PK> lastSeenKey
    • numRpcs

      public final long numRpcs
    • numKeysTransferred

      public final long numKeysTransferred
    • sampleCount

      public final long sampleCount
    • interrupted

      public final boolean interrupted
    • totalCount

      public final long totalCount
    • isLast

      public final boolean isLast
  • Constructor Details

    • StrideSample

      public StrideSample​(java.lang.String strategy, io.datarouter.util.tuple.Range<PK> range, PK lastSeenKey, long numRpcs, long numKeysTransferred, long sampleCount, boolean interrupted, long totalCount, boolean isLast)
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object