public interface DataSegmentKiller
| Modifier and Type | Method and Description |
|---|---|
void |
kill(DataSegment segment)
Removes segment files (index and metadata) from deep storage.
|
void |
killAll()
Like a nuke.
|
default void |
killQuietly(DataSegment segment)
A more stoic killer who doesn't throw a tantrum if things get messy.
|
static final Logger log
void kill(DataSegment segment) throws SegmentLoadingException
segment - the segment to killSegmentLoadingException - if the segment could not be completely removeddefault void killQuietly(DataSegment segment)
segment - the segment to killvoid killAll()
throws IOException
IOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.