Uses of Class
org.apache.cassandra.io.util.File
Packages that use File
Package
Description
Hints subsystem consists of several components.
-
Uses of File in org.apache.cassandra.cache
Methods in org.apache.cassandra.cache that return FileModifier and TypeMethodDescriptionAutoSavingCache.getCacheCrcPath(String version) AutoSavingCache.getCacheDataPath(String version) AutoSavingCache.getCacheMetadataPath(String version) Methods in org.apache.cassandra.cache with parameters of type FileModifier and TypeMethodDescriptionAutoSavingCache.IStreamFactory.getInputStream(File dataPath, File crcPath) AutoSavingCache.IStreamFactory.getOutputStream(File dataPath, File crcPath) -
Uses of File in org.apache.cassandra.config
Methods in org.apache.cassandra.config that return FileModifier and TypeMethodDescriptionstatic FileDatabaseDescriptor.getHintsDirectory()static FileDatabaseDescriptor.getSerializedCachePath(CacheService.CacheType cacheType, String version, String extension) -
Uses of File in org.apache.cassandra.db
Fields in org.apache.cassandra.db declared as FileMethods in org.apache.cassandra.db that return FileModifier and TypeMethodDescriptionstatic FileDirectories.getBackupsDirectory(Descriptor desc) static FileDirectories.getBackupsDirectory(File location) Returns directory to write a backup to.Directories.getDirectoryForNewSSTables()Basically the same as callingDirectories.getWriteableLocationAsFile(long)with an unknown size (-1L), which may return any allowed directory - even a data directory that has no usable space.Directories.getLocationForDisk(Directories.DataDirectory dataDirectory) Returns SSTable location which is inside given data directory.static FileDirectories.getSnapshotDirectory(Descriptor desc, String snapshotName) static FileDirectories.getSnapshotDirectory(File location, String snapshotName) Returns directory to write snapshot.Directories.getSnapshotManifestFile(String snapshotName) static FileDirectories.getSnapshotManifestFile(File snapshotDir) Directories.getSnapshotSchemaFile(String snapshotName) static FileDirectories.getSnapshotSchemaFile(File snapshotDir) Directories.getTemporaryWriteableDirectoryAsFile(long writeSize) Returns a temporary subdirectory on allowed data directory that _currently_ haswriteSizebytes as usable space.Directories.getWriteableLocationAsFile(long writeSize) Returns an allowed directory that _currently_ haswriteSizebytes as usable space.Directories.getWriteableLocationToLoadFile(File sourceFile) Returns a data directory to load the filesourceFile.static FileDisallowedDirectories.maybeMarkUnreadable(File path) Adds parent directory of the file (or the file itself, if it is a directory) to the set of unreadable directories.static FileDisallowedDirectories.maybeMarkUnwritable(File path) Adds parent directory of the file (or the file itself, if it is a directory) to the set of unwritable directories.Methods in org.apache.cassandra.db that return types with arguments of type FileModifier and TypeMethodDescriptionDirectories.getBackupsDirectoryIfExists(File location) Returns directory to write a backup to.Directories.getCFDirectories()ColumnFamilyStore.getDirectoriesForFiles(Set<SSTableReader> sstables) Grabs the global first/last tokens among sstables and returns the range of data directories that start/end with those tokens.Directories.getKSChildDirectories(String ksName) Directories.getSnapshotDirectoryIfExists(File location, String snapshotName) Returns directory to write a snapshot to.Directories.SSTableLister.listFiles()Directories.SSTableLister.listFiles(boolean includeForeignTables) Directories.listSnapshotDirsByTag()Methods in org.apache.cassandra.db with parameters of type FileModifier and TypeMethodDescriptionstatic FileDirectories.getBackupsDirectory(File location) Returns directory to write a backup to.Directories.getBackupsDirectoryIfExists(File location) Returns directory to write a backup to.static FileStoreDirectories.getFileStore(File directory) Gets the filestore for the actual directory where the sstables are stored.static FileDirectories.getSnapshotDirectory(File location, String snapshotName) Returns directory to write snapshot.Directories.getSnapshotDirectoryIfExists(File location, String snapshotName) Returns directory to write a snapshot to.static FileDirectories.getSnapshotManifestFile(File snapshotDir) static FileDirectories.getSnapshotSchemaFile(File snapshotDir) longDirectories.getTrueAllocatedSizeIn(File snapshotDir) Directories.getWriteableLocationToLoadFile(File sourceFile) Returns a data directory to load the filesourceFile.static booleanDirectories.FileAction.hasPrivilege(File file, Directories.FileAction action) static booleanDirectories.isSecondaryIndexFolder(File dir) static booleanDisallowedDirectories.isUnreadable(File directory) Tells whether or not the directory is disallowed for reads.static booleanDisallowedDirectories.isUnwritable(File directory) Tells whether or not the directory is disallowed for writes.static FileDisallowedDirectories.maybeMarkUnreadable(File path) Adds parent directory of the file (or the file itself, if it is a directory) to the set of unreadable directories.static FileDisallowedDirectories.maybeMarkUnwritable(File path) Adds parent directory of the file (or the file itself, if it is a directory) to the set of unwritable directories.ColumnFamilyStore.newSSTableDescriptor(File directory) ColumnFamilyStore.newSSTableDescriptor(File directory, SSTableFormat<?, ?> format) ColumnFamilyStore.newSSTableDescriptor(File directory, Version version) static voidDirectories.removeSnapshotDirectory(com.google.common.util.concurrent.RateLimiter snapshotRateLimiter, File snapshotDir) static voidKeyspace.removeUnreadableSSTables(File directory) Removes every SSTable in the directory from the appropriate Tracker's view.Directories.sstableLister(File directory, Directories.OnTxnErr onTxnErr) static booleanDirectories.verifyFullPermissions(File dir, String dataDir) Checks whether Cassandra has RWX permissions to the specified directory.Method parameters in org.apache.cassandra.db with type arguments of type FileModifier and TypeMethodDescriptionDirectories.allFileStores(Function<File, FileStore> filestoreMapper) static voidDirectories.clearSnapshot(String snapshotName, List<File> tableDirectories, com.google.common.util.concurrent.RateLimiter snapshotRateLimiter) booleanDirectories.hasDiskSpaceForCompactionsAndStreams(Map<File, Long> expectedNewWriteSizes, Map<File, Long> totalCompactionWriteRemaining) Sums up the space required for ongoing streams + compactions + expected new write size per FileStore and checks if there is enough space available.static booleanDirectories.hasDiskSpaceForCompactionsAndStreams(Map<File, Long> expectedNewWriteSizes, Map<File, Long> totalCompactionWriteRemaining, Function<File, FileStore> filestoreMapper) static booleanDirectories.hasDiskSpaceForCompactionsAndStreams(Map<File, Long> expectedNewWriteSizes, Map<File, Long> totalCompactionWriteRemaining, Function<File, FileStore> filestoreMapper) protected static SnapshotManifestConstructors in org.apache.cassandra.db with parameters of type File -
Uses of File in org.apache.cassandra.db.commitlog
Methods in org.apache.cassandra.db.commitlog that return FileModifier and TypeMethodDescriptionCommitLogSegment.getCDCFile()CommitLogSegment.getCDCIndexFile()File[]CommitLog.getUnmanagedFiles()static FileCommitLogDescriptor.inferCdcIndexFile(File cdcCommitLogSegment) Infer the corresponding cdc index file using its cdc commitlog fileMethods in org.apache.cassandra.db.commitlog with parameters of type FileModifier and TypeMethodDescriptionintstatic CommitLogDescriptorCommitLogDescriptor.fromHeader(File file, EncryptionContext encryptionContext) static FileCommitLogDescriptor.inferCdcIndexFile(File cdcCommitLogSegment) Infer the corresponding cdc index file using its cdc commitlog filevoidCommitLogReader.readAllFiles(CommitLogReadHandler handler, File[] files) Reads all passed in files with no minimum, no start, and no mutation limit.voidCommitLogReader.readAllFiles(CommitLogReadHandler handler, File[] files, CommitLogPosition minPosition) Reads all passed in files with minPosition, no start, and no mutation limit.voidCommitLogReader.readCommitLogSegment(CommitLogReadHandler handler, File file, boolean tolerateTruncation) Reads passed in file fullyvoidCommitLogReader.readCommitLogSegment(CommitLogReadHandler handler, File file, int mutationLimit, boolean tolerateTruncation) Reads passed in file fully, up to mutationLimit countvoidCommitLogReader.readCommitLogSegment(CommitLogReadHandler handler, File file, CommitLogPosition minPosition, boolean tolerateTruncation) Reads all mutations from passed in file from minPositionvoidCommitLogReader.readCommitLogSegment(CommitLogReadHandler handler, File file, CommitLogPosition minPosition, int mutationLimit, boolean tolerateTruncation) Reads mutations from file, handing them off to handlerintCommitLog.recoverFiles(File... clogs) Perform recovery on a list of commit log files.voidCommitLogReplayer.replayFiles(File[] clogs) voidCommitLogReplayer.replayPath(File file, boolean tolerateTruncation) -
Uses of File in org.apache.cassandra.db.compaction
Methods in org.apache.cassandra.db.compaction that return types with arguments of type FileModifier and TypeMethodDescriptionActiveCompactions.estimatedRemainingWriteBytes()Get the estimated number of bytes remaining to write per sstable directoryCompactionInfo.getTargetDirectories()Get the directories this compaction could possibly write to.Methods in org.apache.cassandra.db.compaction with parameters of type FileModifier and TypeMethodDescriptionstatic SSTableWriterCompactionManager.createWriter(ColumnFamilyStore cfs, File compactionFileLocation, long expectedBloomFilterSize, long repairedAt, TimeUUID pendingRepair, boolean isTransient, SSTableReader sstable, LifecycleTransaction txn) static SSTableWriterCompactionManager.createWriterForAntiCompaction(ColumnFamilyStore cfs, File compactionFileLocation, int expectedBloomFilterSize, long repairedAt, TimeUUID pendingRepair, boolean isTransient, Collection<SSTableReader> sstables, ILifecycleTransaction txn) -
Uses of File in org.apache.cassandra.db.compaction.writers
Methods in org.apache.cassandra.db.compaction.writers that return File -
Uses of File in org.apache.cassandra.db.lifecycle
Methods in org.apache.cassandra.db.lifecycle that return types with arguments of type FileModifier and TypeMethodDescriptionLifecycleTransaction.getFiles(Path folder, BiPredicate<File, Directories.FileType> filter, Directories.OnTxnErr onTxnErr) Get the files in the folder specified, provided that the filter returns true.Methods in org.apache.cassandra.db.lifecycle with parameters of type FileModifier and TypeMethodDescriptionvoidTracker.removeUnreadableSSTables(File directory) Removes every SSTable in the directory from the Tracker's view.Method parameters in org.apache.cassandra.db.lifecycle with type arguments of type FileModifier and TypeMethodDescriptionLifecycleTransaction.getFiles(Path folder, BiPredicate<File, Directories.FileType> filter, Directories.OnTxnErr onTxnErr) Get the files in the folder specified, provided that the filter returns true. -
Uses of File in org.apache.cassandra.hints
Methods in org.apache.cassandra.hints with parameters of type FileConstructors in org.apache.cassandra.hints with parameters of type FileModifierConstructorDescriptionCompressedHintsWriter(File directory, org.apache.cassandra.hints.HintsDescriptor descriptor, File file, FileChannel channel, int fd, CRC32 globalCRC) protectedEncryptedHintsWriter(File directory, org.apache.cassandra.hints.HintsDescriptor descriptor, File file, FileChannel channel, int fd, CRC32 globalCRC) -
Uses of File in org.apache.cassandra.index.sai.disk.format
Methods in org.apache.cassandra.index.sai.disk.format that return FileModifier and TypeMethodDescriptionIndexDescriptor.fileFor(IndexComponent indexComponent) IndexDescriptor.fileFor(IndexComponent indexComponent, IndexIdentifier indexIdentifier) -
Uses of File in org.apache.cassandra.index.sai.disk.io
Methods in org.apache.cassandra.index.sai.disk.io that return FileMethods in org.apache.cassandra.index.sai.disk.io with parameters of type FileModifier and TypeMethodDescriptionorg.apache.lucene.store.IndexInputIndexFileUtils.openBlockingInput(File file) IndexFileUtils.openOutput(File file) IndexFileUtils.openOutput(File file, boolean append) -
Uses of File in org.apache.cassandra.index.sasi
Constructors in org.apache.cassandra.index.sasi with parameters of type FileModifierConstructorDescriptionSSTableIndex(ColumnIndex index, File indexFile, SSTableReader referent) -
Uses of File in org.apache.cassandra.index.sasi.disk
Fields in org.apache.cassandra.index.sasi.disk declared as FileMethods in org.apache.cassandra.index.sasi.disk that return FileMethods in org.apache.cassandra.index.sasi.disk with parameters of type FileModifier and TypeMethodDescriptionprotected booleanOnDiskIndexBuilder.finish(Descriptor descriptor, File file) protected voidOnDiskIndexBuilder.finish(Descriptor descriptor, Pair<ByteBuffer, ByteBuffer> range, File file, TermIterator terms) booleanFinishes up index building process by creating/populating index file.voidOnDiskIndexBuilder.finish(Pair<ByteBuffer, ByteBuffer> range, File file, TermIterator terms) Constructors in org.apache.cassandra.index.sasi.disk with parameters of type FileModifierConstructorDescriptionOnDiskIndex(File index, AbstractType<?> cmp, com.google.common.base.Function<Long, DecoratedKey> keyReader) -
Uses of File in org.apache.cassandra.io
Constructors in org.apache.cassandra.io with parameters of type FileModifierConstructorDescriptionFSReadError(String message, Throwable cause, File path) FSReadError(Throwable cause, File path) FSWriteError(String message, Throwable cause, File path) FSWriteError(Throwable cause, File path) -
Uses of File in org.apache.cassandra.io.compress
Fields in org.apache.cassandra.io.compress declared as FileMethods in org.apache.cassandra.io.compress with parameters of type FileModifier and TypeMethodDescriptionstatic CompressionMetadatastatic CompressionMetadata.WriterCompressionMetadata.Writer.open(CompressionParams parameters, File file) Constructors in org.apache.cassandra.io.compress with parameters of type FileModifierConstructorDescriptionCompressedSequentialWriter(File file, File offsetsFile, File digestFile, SequentialWriterOption option, CompressionParams parameters, MetadataCollector sstableMetadataCollector) Create CompressedSequentialWriter without digest file.CompressionMetadata(File chunksIndexFile, CompressionParams parameters, Memory chunkOffsets, long chunkOffsetsSize, long dataLength, long compressedFileLength) -
Uses of File in org.apache.cassandra.io.sstable
Fields in org.apache.cassandra.io.sstable declared as FileModifier and TypeFieldDescriptionfinal FileDescriptor.directorycanonicalized path to the directory where SSTable residesfinal FileCorruptSSTableException.pathMethods in org.apache.cassandra.io.sstable that return FileModifier and TypeMethodDescriptionDescriptor.baseFile()Descriptor.tmpFileFor(Component component) Descriptor.tmpFileForStreaming(Component component) Methods in org.apache.cassandra.io.sstable that return types with arguments of type FileModifier and TypeMethodDescriptionDescriptor.getTemporaryFiles()Return any temporary files found in the directoryMethods in org.apache.cassandra.io.sstable with parameters of type FileModifier and TypeMethodDescriptionstatic ComponentDescriptor.componentFromFile(File file) static DescriptorParse a sstable filename into a Descriptor.static Pair<Descriptor,Component> Descriptor.fromFileWithComponent(File file) Parse a sstable filename, extracting both theDescriptorandComponentpart.static Pair<Descriptor,Component> Descriptor.fromFileWithComponent(File file, boolean validateDirs) static Pair<Descriptor,Component> Descriptor.fromFileWithComponent(File file, String keyspace, String table) Parse a sstable filename, extracting both theDescriptorandComponentpart.CQLSSTableWriter.Builder.inDirectory(File directory) The directory where to write the sstables (mandatory option).static booleanDescriptor.isValidFile(File file) static Pair<Descriptor,Component> SSTable.tryComponentFromFilename(File file) Parse a sstable filename into both aDescriptorandComponentobject.static Pair<Descriptor,Component> SSTable.tryComponentFromFilename(File file, String keyspace, String table) Parse a sstable filename into both aDescriptorandComponentobject.static DescriptorSSTable.tryDescriptorFromFile(File file) Parse a sstable filename into aDescriptorobject.Constructors in org.apache.cassandra.io.sstable with parameters of type FileModifierConstructorDescriptionCorruptSSTableException(Throwable cause, File path) Descriptor(String version, File directory, String ksname, String cfname, SSTableId id, SSTableFormat<?, ?> format) Descriptor(File directory, String ksname, String cfname, SSTableId id) A descriptor that assumes CURRENT_VERSION.Descriptor(File directory, String ksname, String cfname, SSTableId id, SSTableFormat<?, ?> format) Constructor for sstable writers only.SSTableLoader(File directory, SSTableLoader.Client client, OutputHandler outputHandler) SSTableLoader(File directory, SSTableLoader.Client client, OutputHandler outputHandler, int connectionsPerHost, String targetKeyspace) SSTableLoader(File directory, SSTableLoader.Client client, OutputHandler outputHandler, int connectionsPerHost, String targetKeyspace, String targetTable) -
Uses of File in org.apache.cassandra.io.sstable.format
Fields in org.apache.cassandra.io.sstable.format declared as FileMethods in org.apache.cassandra.io.sstable.format with parameters of type FileModifier and TypeMethodDescriptionstatic FileHandle.BuilderIndexComponent.fileBuilder(File file, IOOptions ioOptions, ChunkCache chunkCache) -
Uses of File in org.apache.cassandra.io.sstable.format.big
Methods in org.apache.cassandra.io.sstable.format.big with parameters of type FileModifier and TypeMethodDescriptionstatic IndexSummaryComponentIndexSummaryComponent.load(File summaryFile, TableMetadata metadata) Load index summary, first key and last key from Summary.db file if it exists.static Pair<DecoratedKey,DecoratedKey> IndexSummaryComponent.loadFirstAndLastKey(File summaryFile, IPartitioner partitioner) static IndexSummaryComponentIndexSummaryComponent.loadOrDeleteCorrupted(File summaryFile, TableMetadata metadata) voidSave index summary to Summary.db file. -
Uses of File in org.apache.cassandra.io.sstable.format.bti
Methods in org.apache.cassandra.io.sstable.format.bti with parameters of type FileModifier and TypeMethodDescriptionstatic Pair<DecoratedKey,DecoratedKey> PartitionIndex.readFirstAndLastKey(File file, IPartitioner partitioner) -
Uses of File in org.apache.cassandra.io.util
Fields in org.apache.cassandra.io.util declared as FileModifier and TypeFieldDescriptionfinal FileFileHandle.Builder.filefinal FileFileInputStreamPlus.fileMethods in org.apache.cassandra.io.util that return FileModifier and TypeMethodDescriptionstatic FileFileUtils.createDeletableTempFile(String prefix, String suffix) static FileFileUtils.createTempFile(String prefix, String suffix) static FileFileUtils.createTempFile(String prefix, String suffix, File directory) Pretty much likeFile.createTempFile(String, String, java.io.File), but with the guarantee that the "random" part of the generated file name betweenprefixandsuffixis a positive, increasinglongvalue.ChannelProxy.file()FileHandle.file()SequentialWriter.getFile()static FileFileUtils.getTempDir()File[]File.list()File[]File.list(BiPredicate<File, String> filter) File[]File[]File.listUnchecked()File[]File.listUnchecked(BiPredicate<File, String> filter) File[]File.listUnchecked(Predicate<File> filter) File.parent()File.toAbsolute()File.toCanonical()File[]File.tryList()File[]File.tryList(BiPredicate<File, String> filter) File[]File.withSuffix(String suffix) Methods in org.apache.cassandra.io.util with parameters of type FileModifier and TypeMethodDescriptionstatic voidstatic voidFileUtils.appendAndSync(File file, String... lines) intstatic voidFileUtils.copyWithConfirm(File from, File to) static voidFileUtils.copyWithOutConfirm(File from, File to) static voidFileUtils.createDirectory(File directory) Deprecated.See CASSANDRA-16926static voidFileUtils.createHardLink(File from, File to) static voidFileUtils.createHardLinkWithConfirm(File from, File to) static voidFileUtils.createHardLinkWithoutConfirm(File from, File to) static FileFileUtils.createTempFile(String prefix, String suffix, File directory) Pretty much likeFile.createTempFile(String, String, java.io.File), but with the guarantee that the "random" part of the generated file name betweenprefixandsuffixis a positive, increasinglongvalue.static voidDeprecated.See CASSANDRA-16926static voidFileUtils.deleteRecursive(File dir) Deprecated.See CASSANDRA-16926static voidFileUtils.deleteRecursiveOnExit(File dir) Deprecated.See CASSANDRA-16926static voidFileUtils.deleteRecursiveWithThrottle(File dir, com.google.common.util.concurrent.RateLimiter rateLimiter) Deprecated.See CASSANDRA-16926static voidFileUtils.deleteWithConfirm(File file) Deprecated.See CASSANDRA-16926static ThrowableFileUtils.deleteWithConfirm(File file, Throwable accumulate) Deprecated.See CASSANDRA-16926static ThrowableFileUtils.deleteWithConfirm(File file, Throwable accumulate, com.google.common.util.concurrent.RateLimiter rateLimiter) Deprecated.See CASSANDRA-16926static longFileUtils.folderSize(File folder) Get the size of a directory in bytesstatic intFileUtils.getBlockSize(File directory) static StringFileUtils.getCanonicalPath(File file) booleanFile.isAncestorOf(File child) static booleanFileUtils.isContained(File folder, File file) Return true if file is contained in folderstatic booleanFileUtils.isSubDirectory(File parent, File child) Deprecated.See CASSANDRA-16926voidAtomically (if supported) rename/move this file totostatic RandomAccessReaderstatic RandomAccessReaderOpen a RandomAccessReader (not compressed, not mmapped, no read throttling) that will own its channel.static FileChannelChannelProxy.openChannel(File file) static voidFileUtils.renameWithConfirm(File from, File to) Deprecated.See CASSANDRA-16926static voidbooleanTry to rename the file atomically, if the system supports it.static voidFileUtils.write(File file, List<String> lines, StandardOpenOption... options) Write lines to a file adding a newline to the end of each supplied line using the provided open options.voidChecksumWriter.writeFullChecksum(File digestFile) Method parameters in org.apache.cassandra.io.util with type arguments of type FileModifier and TypeMethodDescriptionFileHandle.Builder.complete(Function<File, ChannelProxy> channelProxyFactory) voidvoidFile.forEachRecursive(Consumer<File> forEach) File[]File.list(BiPredicate<File, String> filter) File[]String[]File.listNames(BiPredicate<File, String> filter) String[]File.listNamesUnchecked(BiPredicate<File, String> filter) File[]File.listUnchecked(BiPredicate<File, String> filter) File[]File.listUnchecked(Predicate<File> filter) File[]File.tryList(BiPredicate<File, String> filter) File[]String[]File.tryListNames(BiPredicate<File, String> filter) File.tryListNames(BiPredicate<File, String> filter, net.openhft.chronicle.core.util.ThrowingFunction<IOException, String[], T> orElse) Constructors in org.apache.cassandra.io.util with parameters of type FileModifierConstructorDescriptionChannelProxy(File file) ChannelProxy(File file, FileChannel channel) ChecksummedSequentialWriter(File file, File crcPath, File digestFile, SequentialWriterOption option) ChecksumValidator(File dataFile, File crcFile) Construct a File representing the childchildofparentFileDigestValidator(File dataFile, File digestFile) FileInputStreamPlus(File file) FileInputStreamPlus(File file, int bufferSize) FileOutputStreamPlus(File file) FileOutputStreamPlus(File file, File.WriteMode mode) FileReader(File file) FileWriter(File file) FileWriter(File file, File.WriteMode mode) SequentialWriter(File file) Create heap-based, non-compressed SequenialWriter with default buffer size(64k).protectedSequentialWriter(File file, ByteBuffer buffer, SequentialWriterOption option, boolean strictFlushing) SequentialWriter(File file, SequentialWriterOption option) Create SequentialWriter for given file with specific writer option.SequentialWriter(File file, SequentialWriterOption option, boolean strictFlushing) Create SequentialWriter for given file with specific writer option. -
Uses of File in org.apache.cassandra.service
Methods in org.apache.cassandra.service with parameters of type FileModifier and TypeMethodDescriptionDataResurrectionCheck.Heartbeat.deserializeFromJsonFile(File file) voidDataResurrectionCheck.Heartbeat.serializeToJsonFile(File outputFile) -
Uses of File in org.apache.cassandra.service.paxos.uncommitted
Methods in org.apache.cassandra.service.paxos.uncommitted that return FileModifier and TypeMethodDescriptionPaxosBallotTracker.getDirectory()PaxosUncommittedTracker.getDirectory()Methods in org.apache.cassandra.service.paxos.uncommitted with parameters of type FileModifier and TypeMethodDescriptionstatic PaxosStateTrackerstatic UncommittedDataFilestatic PaxosBallotTrackerstatic PaxosUncommittedTrackerstatic voidstatic voidConstructors in org.apache.cassandra.service.paxos.uncommitted with parameters of type FileModifierConstructorDescriptionPaxosUncommittedTracker(File dataDirectory) PaxosUncommittedTracker(File dataDirectory, com.google.common.collect.ImmutableMap<TableId, UncommittedTableData> tableStates) -
Uses of File in org.apache.cassandra.service.snapshot
Methods in org.apache.cassandra.service.snapshot that return types with arguments of type FileModifier and TypeMethodDescriptionTableSnapshot.getDirectories()TableSnapshot.getManifestFile()TableSnapshot.getSchemaFile()Methods in org.apache.cassandra.service.snapshot with parameters of type FileModifier and TypeMethodDescriptionstatic SnapshotManifestSnapshotManifest.deserializeFromJsonFile(File file) voidSnapshotManifest.serializeToJsonFile(File outputFile) Constructor parameters in org.apache.cassandra.service.snapshot with type arguments of type File -
Uses of File in org.apache.cassandra.tools
Fields in org.apache.cassandra.tools declared as File -
Uses of File in org.apache.cassandra.triggers
Methods in org.apache.cassandra.triggers with parameters of type FileConstructors in org.apache.cassandra.triggers with parameters of type File -
Uses of File in org.apache.cassandra.utils
Methods in org.apache.cassandra.utils that return FileModifier and TypeMethodDescriptionstatic FileFBUtilities.cassandraTriggerDir()static FileFBUtilities.getToolsOutputDirectory()Methods in org.apache.cassandra.utils with parameters of type FileModifier and TypeMethodDescriptionstatic <T> TJsonUtils.deserializeFromJsonFile(Class<T> tClass, File file) static voidThrowables.perform(File against, Throwables.FileOpType opType, Throwables.DiscreteAction<? extends IOException>... actions) static voidJsonUtils.serializeToJsonFile(Object object, File outputFile) static voidJsonUtils.serializeToJsonFileAtomic(Object object, File outputFile) static voidSyncUtil.trySyncDir(File dir) -
Uses of File in org.apache.cassandra.utils.binlog
Methods in org.apache.cassandra.utils.binlog with parameters of type FileModifier and TypeMethodDescriptionstatic ThrowableBinLog.cleanDirectory(File directory, Throwable accumulate)