public class FileBufferingEarthwormExport extends BufferingEarthwormExport
Constructor and Description |
---|
FileBufferingEarthwormExport(int port,
int module,
int institution,
java.lang.String heartbeatMessage,
int heartbeatSeconds,
int bufferSize,
int sleepMillis,
java.lang.String bufferDirPath) |
Modifier and Type | Method and Description |
---|---|
void |
offer(TraceBuf2 tb) |
TraceBuf2 |
pop() |
getMaxSize, getSentCount, getSleepMillis, getTossCount, getTotal, setSleepMillis
public FileBufferingEarthwormExport(int port, int module, int institution, java.lang.String heartbeatMessage, int heartbeatSeconds, int bufferSize, int sleepMillis, java.lang.String bufferDirPath) throws java.net.UnknownHostException, java.io.IOException, SeisFileException
java.net.UnknownHostException
java.io.IOException
SeisFileException
public void offer(TraceBuf2 tb)
offer
in class BufferingEarthwormExport
public TraceBuf2 pop()
pop
in class BufferingEarthwormExport