Package edu.sc.seis.seisFile.earthworm
Class BufferingEarthwormExport
java.lang.Object
edu.sc.seis.seisFile.earthworm.BufferingEarthwormExport
- Direct Known Subclasses:
FileBufferingEarthwormExport
-
Constructor Summary
ConstructorsConstructorDescriptionBufferingEarthwormExport
(int port, int module, int institution, String heartbeatMessage, int heartbeatSeconds, int bufferSize, int sleepMillis) -
Method Summary
Modifier and TypeMethodDescriptionint
int
long
int
int
getTotal()
void
pop()
void
setSleepMillis
(long sleepMillis)
-
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
-
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)
-