Class AsynchronousWriter.Consumer

java.lang.Object
com.globalmentor.io.AsynchronousWriter.Consumer
All Implemented Interfaces:
Runnable
Enclosing class:
AsynchronousWriter

protected class AsynchronousWriter.Consumer extends Object implements Runnable
The consumer runnable that writes data to the underlying writer. This runnable's interruption policy is to close the underlying writer and end execution.
Author:
Garret Wilson
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    The main functionality of the consumer, which consumes data from the blocking queue and writes it to the underlying writer.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Consumer

      protected Consumer()
  • Method Details