Package org.ka2ddo.util
Interface NonshareableDoubleBufferedDataInputStream.FileClosedListener
- Enclosing class:
- NonshareableDoubleBufferedDataInputStream
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface NonshareableDoubleBufferedDataInputStream.FileClosedListener
This interface allows a handler to be informed when end-of-file is detected
by the file-reading thread (typically so the next file can be opened and first
buffer loaded before the data consumer finishes consuming this stream).
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fileClosedAtEOF
(InputStream inputStream, NonshareableDoubleBufferedDataInputStream stream, Object context) Notify the listener that the file-reading thread has reached the end-of-file.
-
Method Details