Interface CustomEventAggregatble
public interface CustomEventAggregatble
Describes rules of aggregation of custom events
-
Method Summary
Modifier and TypeMethodDescriptionvoidaggregateAggregationWithAggregation(CustomGeneratedEvent aggregation1, CustomGeneratedEvent aggregation2) aggregates aggregation1 with aggregation 2, modifying aggregation1voidaggregateAggregationWithValue(CustomGeneratedEvent aggregation, CustomGeneratedEvent value) aggregates aggregation with value, modifying aggregationgetInitialValue(long t)
-
Method Details
-
getInitialValue
- Returns:
- event representing aggregation of 0 objects with time t, of type described in
GeneratedEventInfo.aggregationClass
-
aggregateAggregationWithAggregation
void aggregateAggregationWithAggregation(CustomGeneratedEvent aggregation1, CustomGeneratedEvent aggregation2) aggregates aggregation1 with aggregation 2, modifying aggregation1- Parameters:
aggregation1- of type described inGeneratedEventInfo.aggregationClassaggregation2- of type described inGeneratedEventInfo.aggregationClass
-
aggregateAggregationWithValue
aggregates aggregation with value, modifying aggregation- Parameters:
aggregation- of type described inGeneratedEventInfo.aggregationClassvalue- of type described inGeneratedEventInfo.valueClass
-