|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AggregationType>
org.iqual.chaplin.AggregationType
public enum AggregationType
Determines the algorithm for obtaining a single reply value from multiple message replies.
| Enum Constant Summary | |
|---|---|
aggregator
A custom aggregator is used for obtaining the reply value. |
|
auto
The type of aggregation is determined at the runtime by analyzing the return type of the method. |
|
composite
A composite is created from the multiple results. |
|
takeFirst
The result of the context method is always the first reply value. |
|
takeLast
The result of the context method is always the last reply value. |
|
| Method Summary | |
|---|---|
static AggregationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AggregationType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AggregationType auto
public static final AggregationType composite
public static final AggregationType takeFirst
public static final AggregationType takeLast
public static final AggregationType aggregator
| Method Detail |
|---|
public static final AggregationType[] values()
for(AggregationType c : AggregationType.values())
System.out.println(c);
public static AggregationType 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||