Package rocca

Class RoccaLoggingDataBlock


public class RoccaLoggingDataBlock extends PamDataBlock<RoccaLoggingDataUnit>
Author:
Michael Oswald
  • Field Details

  • Constructor Details

    • RoccaLoggingDataBlock

      public RoccaLoggingDataBlock(PamProcess parentProcess, int channelMap)
      Constructor. Set the natural lifetime to the maximum integer value possible so that the data is never deleted serialVersionUID = 18 2015/04/20 change this to save the data for 10 seconds instead of forever. Especially when using the Whistle and Moan Detector, there can be so many detections that the computer memory can be overloaded and cause a crash if we don't periodically get rid of the old units. There isn't really any point in keeping them anyway, because they're saved to the database almost immediately after being created.