public final class LensUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Throwable |
getCause(Throwable e) |
static String |
getCauseMessage(Throwable e)
Get the message corresponding to base cause.
|
static <K,V> HashMap<K,V> |
getHashMap(Object... args) |
static <T> T |
getImplementation(String factoryName,
org.apache.hadoop.conf.Configuration conf) |
static <T> com.google.common.collect.ImmutableSet<T> |
getImplementations(String factoriesKey,
org.apache.hadoop.conf.Configuration conf) |
static <T> Set<T> |
getImplementationsMutable(String factoriesKey,
org.apache.hadoop.conf.Configuration conf) |
static boolean |
isSocketException(Throwable e) |
public static String getCauseMessage(@NonNull Throwable e)
e
- public static boolean isSocketException(@NonNull Throwable e)
public static <T> Set<T> getImplementationsMutable(String factoriesKey, org.apache.hadoop.conf.Configuration conf)
public static <T> com.google.common.collect.ImmutableSet<T> getImplementations(String factoriesKey, org.apache.hadoop.conf.Configuration conf)
public static <T> T getImplementation(String factoryName, org.apache.hadoop.conf.Configuration conf)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.