|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FaultTolerance>
org.apache.commons.pipeline.driver.FaultTolerance
public enum FaultTolerance
Stores the failure tolerance flag for a worker thread. If faultTolerance
is set to CHECKED, StageExceptions thrown by
the Stage.process(Object) method will not interrupt queue
processing, but will simply be logged with a severity of ERROR.
If faultTolerance is set to ALL, runtime exceptions will also be
logged and otherwise ignored.
| Enum Constant Summary | |
|---|---|
ALL
If faultTolerance is set to ALL, runtime exceptions will be logged and otherwise ignored. |
|
CHECKED
StageExceptions thrown by
the Stage.process(Object) method will not interrupt queue
processing, but will simply be logged with a severity of ERROR. |
|
NONE
StageExceptions thrown by
the Stage.process(Object) method will interrupt queue
processing and will be logged with a severity of ERROR. |
|
| Method Summary | |
|---|---|
static FaultTolerance |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FaultTolerance[] |
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 FaultTolerance NONE
StageExceptions thrown by
the Stage.process(Object) method will interrupt queue
processing and will be logged with a severity of ERROR.
public static final FaultTolerance CHECKED
StageExceptions thrown by
the Stage.process(Object) method will not interrupt queue
processing, but will simply be logged with a severity of ERROR.
public static final FaultTolerance ALL
| Method Detail |
|---|
public static FaultTolerance[] values()
for (FaultTolerance c : FaultTolerance.values()) System.out.println(c);
public static FaultTolerance 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||