public interface SegmentNotFoundExceptionListener
SegmentNotFoundException. Its purpose is to e.g. provide meaningful
logging information about these exceptions.| Modifier and Type | Field and Description |
|---|---|
static SegmentNotFoundExceptionListener |
IGNORE_SNFE
Listener instance doing nothing on a
SegmentNotFoundException |
static SegmentNotFoundExceptionListener |
LOG_SNFE
Listener instance logging the
SegmentNotFoundException at error level. |
| Modifier and Type | Method and Description |
|---|---|
void |
notify(SegmentId id,
SegmentNotFoundException snfe)
Notification about
SegmentNotFoundException thrown by the underlying store
in a meaningful way. |
static final SegmentNotFoundExceptionListener IGNORE_SNFE
SegmentNotFoundExceptionstatic final SegmentNotFoundExceptionListener LOG_SNFE
SegmentNotFoundException at error level.void notify(@Nonnull SegmentId id, @Nonnull SegmentNotFoundException snfe)
SegmentNotFoundException thrown by the underlying store
in a meaningful way. E.g. by logging it.id - the segment id of the offending Segmentsnfe - the raised exceptionCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.