Class DLOutputStream
java.lang.Object
java.io.OutputStream
org.apache.pulsar.functions.worker.dlog.DLOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
DistributedLog Output Stream.
-
Constructor Summary
ConstructorsConstructorDescriptionDLOutputStream(org.apache.distributedlog.api.DistributedLogManager dlm, org.apache.distributedlog.AppendOnlyStreamWriter writer) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
DLOutputStream
public DLOutputStream(org.apache.distributedlog.api.DistributedLogManager dlm, org.apache.distributedlog.AppendOnlyStreamWriter writer)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-