Class DataStructureInterface.TreeResponseInterval
java.lang.Object
velox.api.layer1.messages.indicators.DataStructureInterface.TreeResponseInterval
- Enclosing interface:
DataStructureInterface
Tree structure response for given interval
-
Field Summary
FieldsModifier and TypeFieldDescriptionFor standard events key is a string value ofDataStructureInterface.StandardEvents. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetEventOrAdd(String eventKey, Supplier<T> eventFactory) Get event from map, or create and add it using factory if not present
-
Field Details
-
events
For standard events key is a string value ofDataStructureInterface.StandardEvents. Value is a tree response of a corresponding type (for standard events seeDataStructureInterface.StandardEvents) For custom generated events with aggregation, key is string value of event non aggregated (value) classGeneratedEventInfo.valueClass, and value will be an object ofGeneratedEventInfo.aggregationClass
-
-
Constructor Details
-
TreeResponseInterval
public TreeResponseInterval()
-
-
Method Details
-
getEventOrAdd
Get event from map, or create and add it using factory if not present- Type Parameters:
T- type of event- Parameters:
eventKey- string value ofDataStructureInterface.StandardEventsor string value ofGeneratedEventInfo.valueClasseventFactory- factory to create event if not present- Returns:
- event of required type
-