@NotThreadSafe public final class UfsFileWriteRequestContext extends WriteRequestContext<UfsFileWriteRequest>
Modifier and Type | Method and Description |
---|---|
CreateOptions |
getCreateOptions() |
OutputStream |
getOutputStream() |
CloseableResource<UnderFileSystem> |
getUfsResource() |
void |
setCreateOptions(CreateOptions createOptions) |
void |
setOutputStream(OutputStream outputStream) |
void |
setUfsResource(CloseableResource<UnderFileSystem> ufsResource) |
getCounter, getError, getMeter, getPos, getRequest, isDoneUnsafe, setCounter, setDoneUnsafe, setError, setMeter, setPos
@Nullable public CreateOptions getCreateOptions()
@Nullable public OutputStream getOutputStream()
@Nullable public CloseableResource<UnderFileSystem> getUfsResource()
public void setCreateOptions(CreateOptions createOptions)
createOptions
- the create options to setpublic void setOutputStream(OutputStream outputStream)
outputStream
- output stream to setpublic void setUfsResource(CloseableResource<UnderFileSystem> ufsResource)
ufsResource
- UFS to setCopyright © 2023. All Rights Reserved.