## Uses of Class
org.apache.cassandra.db.Directories.DataDirectory

- Packages that use Directories.DataDirectory
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.db.compaction.writers |

- - ### Uses of Directories.DataDirectory in org.apache.cassandra.db

    Fields in org.apache.cassandra.db declared as Directories.DataDirectory
    Modifier and Type | Field and Description
    --- | ---
    `static Directories.DataDirectory[]` | Directories.`dataDirectories`

    Fields in org.apache.cassandra.db with type parameters of type Directories.DataDirectory
    Modifier and Type | Field and Description
    --- | ---
    `java.util.List<Directories.DataDirectory>` | DiskBoundaries.`directories`

    Methods in org.apache.cassandra.db that return Directories.DataDirectory
    Modifier and Type | Method and Description
    --- | ---
    `Directories.DataDirectory` | DiskBoundaries.`getCorrectDiskForSSTable(SSTableReader sstable)`
    `Directories.DataDirectory` | Directories.`getDataDirectoryForFile(java.io.File directory)`
    `static Directories.DataDirectory[]` | ColumnFamilyStore.`getInitialDirectories()`
    `Directories.DataDirectory` | Directories.`getWriteableLocation(long writeSize)` Returns a non-blacklisted data directory that _currently_ has `writeSize` bytes as usable space, null if there is not enough space left in all directories.
    `Directories.DataDirectory[]` | Directories.`getWriteableLocations()`

    Methods in org.apache.cassandra.db with parameters of type Directories.DataDirectory
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ColumnFamilyStore.`addInitialDirectories(Directories.DataDirectory[] newDirectories)` A hook to add additional directories to initialDirectories.
    `static java.util.List<java.io.File>` | Directories.`getKSChildDirectories(java.lang.String ksName, Directories.DataDirectory[] directories)`
    `java.io.File` | Directories.`getLocationForDisk(Directories.DataDirectory dataDirectory)` Returns SSTable location which is inside given data directory.

    Constructors in org.apache.cassandra.db with parameters of type Directories.DataDirectory
    Constructor and Description
    `Directories(CFMetaData metadata, Directories.DataDirectory[] paths)` Create Directories of given ColumnFamily.
    `DiskBoundaries(Directories.DataDirectory[] directories, int diskVersion)`
    `DiskBoundaries(Directories.DataDirectory[] directories, java.util.List<PartitionPosition> positions, long ringVersion, int diskVersion)`

    Constructor parameters in org.apache.cassandra.db with type arguments of type Directories.DataDirectory
    Constructor and Description
    `Directories(CFMetaData metadata, java.util.Collection<Directories.DataDirectory> paths)`

  - ### Uses of Directories.DataDirectory in org.apache.cassandra.db.compaction.writers

    Methods in org.apache.cassandra.db.compaction.writers that return Directories.DataDirectory
    Modifier and Type | Method and Description
    --- | ---
    `Directories.DataDirectory` | CompactionAwareWriter.`getWriteDirectory(java.lang.Iterable<SSTableReader> sstables, long estimatedWriteSize)` Return a directory where we can expect expectedWriteSize to fit.

    Methods in org.apache.cassandra.db.compaction.writers with parameters of type Directories.DataDirectory
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | CompactionAwareWriter.`switchCompactionLocation(Directories.DataDirectory directory)` Implementations of this method should finish the current sstable writer and start writing to this directory.
    `void` | DefaultCompactionWriter.`switchCompactionLocation(Directories.DataDirectory directory)`
    `void` | MajorLeveledCompactionWriter.`switchCompactionLocation(Directories.DataDirectory location)`
    `void` | MaxSSTableSizeWriter.`switchCompactionLocation(Directories.DataDirectory location)`
    `void` | SplittingSizeTieredCompactionWriter.`switchCompactionLocation(Directories.DataDirectory location)`

Copyright © 2018 The Apache Software Foundation