Uses of Class org.apache.cassandra.db.lifecycle.LifecycleTransaction (apache-cassandra API)
Date: 2018-02-12

## Uses of Class
org.apache.cassandra.db.lifecycle.LifecycleTransaction

- Packages that use LifecycleTransaction
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.db.compaction |
  org.apache.cassandra.db.compaction.writers |
  org.apache.cassandra.db.lifecycle |
  org.apache.cassandra.io.sstable |

- - ### Uses of LifecycleTransaction in org.apache.cassandra.db

    Methods in org.apache.cassandra.db that return LifecycleTransaction
    Modifier and Type | Method and Description
    --- | ---
    `LifecycleTransaction` | ColumnFamilyStore.`markAllCompacting(OperationType operationType)`

  - ### Uses of LifecycleTransaction in org.apache.cassandra.db.compaction

    Fields in org.apache.cassandra.db.compaction declared as LifecycleTransaction
    Modifier and Type | Field and Description
    --- | ---
    `protected LifecycleTransaction` | AbstractCompactionTask.`transaction`

    Methods in org.apache.cassandra.db.compaction with parameters of type LifecycleTransaction
    Modifier and Type | Method and Description
    --- | ---
    `abstract CompactionAwareWriter` | AbstractCompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables)`
    `CompactionAwareWriter` | CompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, java.util.Set<SSTableReader> nonExpiredSSTables)`
    `CompactionAwareWriter` | LeveledCompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables)`
    `CompactionAwareWriter` | SSTableSplitter.SplittingCompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables)`
    `AbstractCompactionTask` | AbstractCompactionStrategy.`getCompactionTask(LifecycleTransaction txn, int gcBefore, long maxSSTableBytes)`
    `AbstractCompactionTask` | LeveledCompactionStrategy.`getCompactionTask(LifecycleTransaction txn, int gcBefore, long maxSSTableBytes)`
    `AbstractCompactionTask` | WrappingCompactionStrategy.`getCompactionTask(LifecycleTransaction txn, int gcBefore, long maxSSTableBytes)`
    `void` | CompactionManager.`performAnticompaction(ColumnFamilyStore cfs, java.util.Collection<Range<Token>> ranges, Refs<SSTableReader> validatedForRepair, LifecycleTransaction txn, long repairedAt)` Make sure the {validatedForRepair} are marked for compaction before calling this.

    Constructors in org.apache.cassandra.db.compaction with parameters of type LifecycleTransaction
    Constructor and Description
    `AbstractCompactionTask(ColumnFamilyStore cfs, LifecycleTransaction transaction)`
    `CompactionTask(ColumnFamilyStore cfs, LifecycleTransaction txn, int gcBefore, boolean offline)`
    `LeveledCompactionTask(ColumnFamilyStore cfs, LifecycleTransaction txn, int level, int gcBefore, long maxSSTableBytes, boolean majorCompaction)`
    `Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, boolean checkData)`
    `Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, boolean checkData, boolean reinsertOverflowedTTLRows)`
    `Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, OutputHandler outputHandler, boolean checkData, boolean reinsertOverflowedTTLRows)`
    `SplittingCompactionTask(ColumnFamilyStore cfs, LifecycleTransaction transaction, int sstableSizeInMB)`
    `SSTableSplitter(ColumnFamilyStore cfs, LifecycleTransaction transaction, int sstableSizeInMB)`
    `Upgrader(ColumnFamilyStore cfs, LifecycleTransaction txn, OutputHandler outputHandler)`

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

    Constructors in org.apache.cassandra.db.compaction.writers with parameters of type LifecycleTransaction
    Constructor and Description
    `CompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, boolean offline)`
    `DefaultCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, boolean offline, OperationType compactionType)`
    `MajorLeveledCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, boolean offline, OperationType compactionType)`
    `MaxSSTableSizeWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, int level, boolean offline, OperationType compactionType)`
    `SplittingSizeTieredCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, OperationType compactionType)`
    `SplittingSizeTieredCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, OperationType compactionType, long smallestSSTable)`

  - ### Uses of LifecycleTransaction in org.apache.cassandra.db.lifecycle

    Methods in org.apache.cassandra.db.lifecycle that return LifecycleTransaction
    Modifier and Type | Method and Description
    --- | ---
    `static LifecycleTransaction` | LifecycleTransaction.`offline(OperationType operationType, java.lang.Iterable<SSTableReader> readers)` construct a Transaction for use in an offline operation
    `static LifecycleTransaction` | LifecycleTransaction.`offline(OperationType operationType, SSTableReader reader)` construct a Transaction for use in an offline operation
    `LifecycleTransaction` | LifecycleTransaction.`split(java.util.Collection<SSTableReader> readers)` remove the provided readers from this Transaction, and return a new Transaction to manage them only permitted to be called if the current Transaction has never been used
    `LifecycleTransaction` | Tracker.`tryModify(java.lang.Iterable<SSTableReader> sstables, OperationType operationType)`
    `LifecycleTransaction` | Tracker.`tryModify(SSTableReader sstable, OperationType operationType)`

  - ### Uses of LifecycleTransaction in org.apache.cassandra.io.sstable

    Constructors in org.apache.cassandra.io.sstable with parameters of type LifecycleTransaction
    Constructor and Description
    `SSTableRewriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, long maxAge, boolean isOffline)`
    `SSTableRewriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, long maxAge, boolean isOffline, boolean shouldOpenEarly)`
    `SSTableRewriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, long maxAge, boolean isOffline, long preemptiveOpenInterval)`

    Constructor parameters in org.apache.cassandra.io.sstable with type arguments of type LifecycleTransaction
    Constructor and Description
    `IndexSummaryRedistribution(java.util.List<SSTableReader> compacting, java.util.Map<java.util.UUID,LifecycleTransaction> transactions, long memoryPoolBytes)`

Copyright © 2018 The Apache Software Foundation