static class FuturesGetChecked.GetCheckedTypeValidatorHolder
extends java.lang.Object
FuturesGetChecked.getChecked(Future, Class), possibly using caching.
Uses reflection to gracefully fall back to when certain implementations aren't available.
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator |
(package private) static class |
FuturesGetChecked.GetCheckedTypeValidatorHolder.WeakSetValidator |
| Modifier and Type | Field and Description |
|---|---|
(package private) static FuturesGetChecked.GetCheckedTypeValidator |
BEST_VALIDATOR |
(package private) static java.lang.String |
CLASS_VALUE_VALIDATOR_NAME |
| Constructor and Description |
|---|
GetCheckedTypeValidatorHolder() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static FuturesGetChecked.GetCheckedTypeValidator |
getBestValidator()
Returns the ClassValue-using validator, or falls back to the "weak Set" implementation if
unable to do so.
|
static final java.lang.String CLASS_VALUE_VALIDATOR_NAME
static final FuturesGetChecked.GetCheckedTypeValidator BEST_VALIDATOR
static FuturesGetChecked.GetCheckedTypeValidator getBestValidator()