FastqWriter
, Closeable
, AutoCloseable
public class AsyncFastqWriter extends AbstractAsyncWriter<FastqRecord> implements FastqWriter
DEFAULT_QUEUE_SIZE
Constructor | Description |
---|---|
AsyncFastqWriter(FastqWriter out,
int queueSize) |
Modifier and Type | Method | Description |
---|---|---|
protected String |
getThreadNamePrefix() |
Returns the prefix to use when naming threads.
|
protected void |
synchronouslyClose() |
|
protected void |
synchronouslyWrite(FastqRecord item) |
close, write
close, write
public AsyncFastqWriter(FastqWriter out, int queueSize)
protected String getThreadNamePrefix()
AbstractAsyncWriter
getThreadNamePrefix
in class AbstractAsyncWriter<FastqRecord>
protected void synchronouslyWrite(FastqRecord item)
synchronouslyWrite
in class AbstractAsyncWriter<FastqRecord>
protected void synchronouslyClose()
synchronouslyClose
in class AbstractAsyncWriter<FastqRecord>