Class HRegion.ObservedExceptionsInBatch
java.lang.Object
org.apache.hadoop.hbase.regionserver.HRegion.ObservedExceptionsInBatch
- Enclosing class:
- HRegion
A class that tracks exceptions that have been observed in one batch. Not thread safe.
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) boolean
Returns If aFailedSanityCheckException
has been observed.(package private) boolean
Returns If aNoSuchColumnFamilyException
has been observed.(package private) boolean
Returns If aWrongRegionException
has been observed.(package private) void
Records that aFailedSanityCheckException
has been observed.(package private) void
Records that aNoSuchColumnFamilyException
has been observed.(package private) void
Records that aWrongRegionException
has been observed.
-
Field Details
-
wrongRegion
-
failedSanityCheck
-
wrongFamily
-
-
Constructor Details
-
ObservedExceptionsInBatch
-
-
Method Details
-
hasSeenWrongRegion
boolean hasSeenWrongRegion()Returns If aWrongRegionException
has been observed. -
sawWrongRegion
void sawWrongRegion()Records that aWrongRegionException
has been observed. -
hasSeenFailedSanityCheck
boolean hasSeenFailedSanityCheck()Returns If aFailedSanityCheckException
has been observed. -
sawFailedSanityCheck
void sawFailedSanityCheck()Records that aFailedSanityCheckException
has been observed. -
hasSeenNoSuchFamily
boolean hasSeenNoSuchFamily()Returns If aNoSuchColumnFamilyException
has been observed. -
sawNoSuchFamily
void sawNoSuchFamily()Records that aNoSuchColumnFamilyException
has been observed.
-