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.IOExceptionpublic Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, OutputHandler outputHandler, boolean checkData) throws java.io.IOException
java.io.IOExceptionpublic void scrub()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic CompactionInfo.Holder getScrubInfo()
public Scrubber.ScrubResult scrubWithResult()
Copyright © 2016 The Apache Software Foundation