Class BufferingEarthwormExport

java.lang.Object
edu.sc.seis.seisFile.earthworm.BufferingEarthwormExport
Direct Known Subclasses:
FileBufferingEarthwormExport

public class BufferingEarthwormExport extends Object
  • Constructor Details

    • BufferingEarthwormExport

      public BufferingEarthwormExport(int port, int module, int institution, String heartbeatMessage, int heartbeatSeconds, int bufferSize, int sleepMillis) throws IOException
      Throws:
      IOException
  • Method Details

    • offer

      public void offer(TraceBuf2 tb)
    • pop

      public TraceBuf2 pop()
    • getTotal

      public int getTotal()
    • getSentCount

      public int getSentCount()
    • getTossCount

      public int getTossCount()
    • getMaxSize

      public int getMaxSize()
    • getSleepMillis

      public long getSleepMillis()
    • setSleepMillis

      public void setSleepMillis(long sleepMillis)