Class InputStreamTracker.LinearScaleFactor

java.lang.Object
net.sf.basedb.util.InputStreamTracker.LinearScaleFactor
All Implemented Interfaces:
InputStreamTracker.ScaleFactor
Enclosing class:
InputStreamTracker

public static class InputStreamTracker.LinearScaleFactor extends Object implements InputStreamTracker.ScaleFactor
Apply a linear scale factor so that when we have read N actual bytes the getNumRead() method return N*scale bytes.
  • Field Details

    • scale

      private final float scale
  • Constructor Details

    • LinearScaleFactor

      public LinearScaleFactor(float scale)
  • Method Details