Class ContentClaimOutputStream
java.lang.Object
java.io.OutputStream
org.apache.nifi.controller.repository.io.ContentClaimOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ContentClaimCreates a new Content Claim that is backed by this OutputStream.Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
Constructor Details
-
ContentClaimOutputStream
public ContentClaimOutputStream()
-
-
Method Details
-
newContentClaim
Creates a new Content Claim that is backed by this OutputStream. This allows the caller to create a new Content Claim but ensure that they keep writing to the same OutputStream, which can significantly improve performance.- Returns:
- a new ContentClaim
- Throws:
IOException- if unable to finalize the current ContentClaim or create a new one
-