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