Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
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 |
FuturesGetChecked.GetCheckedTypeValidatorHolder.BEST_VALIDATOR |
Modifier and Type | Method and Description |
---|---|
private static FuturesGetChecked.GetCheckedTypeValidator |
FuturesGetChecked.bestGetCheckedTypeValidator() |
(package private) static FuturesGetChecked.GetCheckedTypeValidator |
FuturesGetChecked.classValueValidator() |
(package private) static FuturesGetChecked.GetCheckedTypeValidator |
FuturesGetChecked.GetCheckedTypeValidatorHolder.getBestValidator()
Returns the ClassValue-using validator, or falls back to the "weak Set" implementation if
unable to do so.
|
(package private) static FuturesGetChecked.GetCheckedTypeValidator |
FuturesGetChecked.weakSetValidator() |
Modifier and Type | Method and Description |
---|---|
(package private) static <V,X extends java.lang.Exception> |
FuturesGetChecked.getChecked(FuturesGetChecked.GetCheckedTypeValidator validator,
java.util.concurrent.Future<V> future,
java.lang.Class<X> exceptionClass)
Implementation of
Futures.getChecked(Future, Class) . |