Class SSTableContextManager

    • Constructor Detail

      • SSTableContextManager

        public SSTableContextManager()
    • Method Detail

      • update

        public Pair<java.util.Set<SSTableContext>,​java.util.Set<SSTableReader>> update​(java.util.Collection<SSTableReader> removed,
                                                                                             java.lang.Iterable<SSTableReader> added,
                                                                                             IndexValidation validation)
        Initialize SSTableContexts if they are not already initialized.
        Parameters:
        removed - SSTables being removed
        added - SSTables being added
        validation - Controls how indexes should be validated
        Returns:
        a set of contexts for SSTables with valid per-SSTable components, and a set of SSTables with invalid or missing components
      • release

        public void release​(java.util.Collection<SSTableReader> toRelease)
      • size

        public int size()
      • clear

        public void clear()