Class ConcurrentFileReader

java.lang.Object
org.aksw.jena_sparql_api.io.endpoint.ConcurrentFileReader
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, ReadableByteChannel

public class ConcurrentFileReader extends Object implements ReadableByteChannel
A wrapper for a channel that blocks upon reaching the end of its channel When there is no more data, the reader can either waits for a notify on referenceChannel. or a poll using a specified interval. The reference channel may be a channel that actually written to by the JVM, but it may also be just a 'dummy' channel that represents a write process outside of the JVM, such as a system process.
Author:
raven