Package htsjdk.samtools.fastq
Class AsyncFastqWriter
- All Implemented Interfaces:
Writer<FastqRecord>
,FastqWriter
,Closeable
,AutoCloseable
Implementation of a FastqWriter that provides asynchronous output.
-
Field Summary
Fields inherited from class htsjdk.samtools.util.AbstractAsyncWriter
DEFAULT_QUEUE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the prefix to use when naming threads.protected void
protected void
Methods inherited from class htsjdk.samtools.util.AbstractAsyncWriter
close, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface htsjdk.samtools.fastq.FastqWriter
close, write
-
Constructor Details
-
AsyncFastqWriter
-
-
Method Details
-
getThreadNamePrefix
Description copied from class:AbstractAsyncWriter
Returns the prefix to use when naming threads.- Specified by:
getThreadNamePrefix
in classAbstractAsyncWriter<FastqRecord>
-
synchronouslyWrite
- Specified by:
synchronouslyWrite
in classAbstractAsyncWriter<FastqRecord>
-
synchronouslyClose
protected void synchronouslyClose()- Specified by:
synchronouslyClose
in classAbstractAsyncWriter<FastqRecord>
-