Top Description Classes
[default module]

Package com.opencsv.bean.concurrent


This package collects all classes necessary for the parallel processing of beans.

Class Summary

Modifier and TypeClass and Description
pack-priv class
AccumulateCsvResults<
Type of output being created (bean or strings)
T
>

The accumulator takes two queues of results of transforming text input into bean output or bean input into text output (output and exceptions) and orders them for later consumption.

public class
BeanExecutor<
The type of the bean being converted
T
>

A specific derivative of IntolerantThreadPoolExecutor intended for submitting beans to be converted to java.lang.Strings for writing.

public class
CompleteFileReader<
The type of bean being created
T
>

Implements a separate thread for reading input and siphoning it to a LineExecutor.

pack-priv class
IntolerantThreadPoolExecutor<
The type of the object being created by the threads run
T
>

This ThreadPoolExecutor automatically shuts down on any failed thread.

public class
LineExecutor<
The type of the bean being converted to
T
>

A specific derivative of IntolerantThreadPoolExecutor intended for submitting lines of input to be converted to beans.

public class
ProcessCsvBean<
The type of the bean to be processed
T
>

A class for converting one bean into its string representation for writing to an output.

public class
ProcessCsvLine<
The type of the bean being created
T
>

A class that encapsulates the job of creating a bean from a line of CSV input and making it possible to run those jobs in parallel.

public class
SingleLineReader

This class exists to isolate the logic for reading a single line of input that is common to CsvToBean#iterator() and CompleteFileReader.