public interface AtomicFileOutputStreamCallback extends UnderFileSystem
AtomicFileOutputStreamCallback
is the callback interface used when using a
AtomicFileOutputStream
.UnderFileSystem.Factory, UnderFileSystem.SpaceType
Modifier and Type | Method and Description |
---|---|
OutputStream |
createDirect(String path,
CreateOptions options)
Creates a file in the under file system with the specified
CreateOptions . |
cleanup, connectFromMaster, connectFromWorker, create, create, createNonexistingFile, createNonexistingFile, deleteDirectory, deleteDirectory, deleteExistingDirectory, deleteExistingDirectory, deleteExistingFile, deleteFile, exists, getAclPair, getBlockSizeByte, getConfiguration, getDirectoryStatus, getExistingDirectoryStatus, getExistingFileStatus, getExistingStatus, getFileLocations, getFileLocations, getFileStatus, getFileStatus, getFingerprint, getOperationMode, getParsedFingerprint, getParsedFingerprint, getPhysicalStores, getSpace, getStatus, getStatus, getTemporaryToken, getUnderFSType, isDirectory, isExistingDirectory, isFile, isObjectStorage, isSeekable, isTemporaryConnectionToken, listStatus, listStatus, listStatuses, listStatusIterable, mkdirs, mkdirs, open, open, openExistingFile, openExistingFile, openPositionRead, refreshTemporaryToken, renameDirectory, renameFile, renameRenamableDirectory, renameRenamableFile, resolveUri, setAclEntries, setMode, setOwner, setTemporaryTokenRefreshContext, supportsFlush
performListingAsync
OutputStream createDirect(String path, CreateOptions options) throws IOException
CreateOptions
. This stream
writes directly to the underlying storage without any atomicity guarantees.path
- the file nameoptions
- the options for createOutputStream
objectIOException
Copyright © 2023. All Rights Reserved.