public class Scrubber
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Class and Description |
---|---|
static class |
Scrubber.ScrubResult |
Constructor and Description |
---|
Scrubber(ColumnFamilyStore cfs,
LifecycleTransaction transaction,
boolean skipCorrupted,
boolean checkData) |
Scrubber(ColumnFamilyStore cfs,
LifecycleTransaction transaction,
boolean skipCorrupted,
OutputHandler outputHandler,
boolean checkData) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CompactionInfo.Holder |
getScrubInfo() |
void |
scrub() |
Scrubber.ScrubResult |
scrubWithResult() |
public Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, boolean checkData) throws java.io.IOException
java.io.IOException
public Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, OutputHandler outputHandler, boolean checkData) throws java.io.IOException
java.io.IOException
public void scrub()
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public CompactionInfo.Holder getScrubInfo()
public Scrubber.ScrubResult scrubWithResult()
Copyright © 2017 The Apache Software Foundation