Class GridDataBlock


@Deprecated public class GridDataBlock extends PamDataBlock<GridDataUnit>
Deprecated.
  • Constructor Details

    • GridDataBlock

      public GridDataBlock(PamProcess parentProcess)
      Deprecated.
  • Method Details

    • removeOldUnitsT

      protected int removeOldUnitsT(long currentTimeMS)
      Deprecated.
      Description copied from class: PamDataBlock
      Removes olderPamDataUnits from memory, starting at the first unit and continuing until if finds one with data coming earlier than the given time in milliseconds.

      If the data are acoustic, it tries to find the data source and looks to see how much data has been placed in the source data unit and does the calculation in samples.

      Overrides:
      removeOldUnitsT in class PamDataBlock<GridDataUnit>
      Parameters:
      currentTimeMS - Time in milliseconds of the first data which must be kept
      Returns:
      the number of units removed