Module org.sejda.io
Package org.sejda.io

Class ThreadBoundCopiesSupplier<T extends SeekableSource>

java.lang.Object
org.sejda.io.ThreadBoundCopiesSupplier<T>
All Implemented Interfaces:
Closeable, AutoCloseable, Supplier<T>

public class ThreadBoundCopiesSupplier<T extends SeekableSource> extends Object implements Closeable, Supplier<T>
Component supplying per-thread copies of a SeekableSource using the provided supplier. When closed, all the generated copies are closed as well.
Author:
Andrea Vacondio