Class FuturesGetChecked.GetCheckedTypeValidatorHolder
java.lang.Object
com.google.common.util.concurrent.FuturesGetChecked.GetCheckedTypeValidatorHolder
- Enclosing class:
FuturesGetChecked
Provides a check of whether an exception type is valid for use with
FuturesGetChecked.getChecked(Future, Class)
, possibly using caching.
Uses reflection to gracefully fall back to when certain implementations aren't available.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum
(package private) static enum
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final FuturesGetChecked.GetCheckedTypeValidator
(package private) static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static FuturesGetChecked.GetCheckedTypeValidator
Returns the ClassValue-using validator, or falls back to the "weak Set" implementation if unable to do so.
-
Field Details
-
CLASS_VALUE_VALIDATOR_NAME
-
BEST_VALIDATOR
-
-
Constructor Details
-
GetCheckedTypeValidatorHolder
GetCheckedTypeValidatorHolder()
-
-
Method Details
-
getBestValidator
Returns the ClassValue-using validator, or falls back to the "weak Set" implementation if unable to do so.
-