Class DLInputStream
java.lang.Object
java.io.InputStream
org.apache.pulsar.functions.worker.dlog.DLInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
DistributedLog Input Stream.
-
Constructor Summary
ConstructorsConstructorDescriptionDLInputStream(org.apache.distributedlog.api.DistributedLogManager dlm) Construct DistributedLog input stream. -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
DLInputStream
Construct DistributedLog input stream.- Parameters:
dlm- the Distributed Log Manager to access the stream- Throws:
IOException
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-