|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy>
com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy
public static enum FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy
A strategy for handling unexpected and uncaught throwables thrown by futures run on the pool.
| Enum Constant Summary | |
|---|---|
IGNORE
Silently catches and ignores the uncaught throwables. |
|
LOG
Logs the uncaught throwables using FifoPriorityThreadPoolExecutor.TAG and Log. |
|
THROW
Rethrows the uncaught throwables to crash the app. |
|
| Method Summary | |
|---|---|
protected void |
handle(Throwable t)
|
static FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy IGNORE
public static final FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy LOG
FifoPriorityThreadPoolExecutor.TAG and Log.
public static final FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy THROW
| Method Detail |
|---|
public static FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy[] values()
for (FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy c : FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy.values()) System.out.println(c);
public static FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullprotected void handle(Throwable t)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||