Interface OutputGroupDeterminer
-
- All Known Implementing Classes:
DynamicOptionGroupDeterminer,PartitionedGroupDeterminer
public interface OutputGroupDeterminerOutput events are grouped before sent out to the transport to achieve efficient network communication. Implementations of this interface should implement the logic to decide the grouping of events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringdecideGroup(Event event)Deciding the group of a given event and returning a unique identifier to identify the group.
-
-
-
Method Detail
-
decideGroup
String decideGroup(Event event)
Deciding the group of a given event and returning a unique identifier to identify the group. A correct implementation of this method should be returning the same group identifier for all events belongs a give group.- Parameters:
event- Event that needs to be decided to which group it belongs to- Returns:
- Unique Identifier to identify the group of the event
-
-