Class Modeler
- java.lang.Object
-
- com.facebook.openwifi.rrm.modules.Modeler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Modeler.DataModel
Data model representation.static class
Modeler.InputDataType
Kafka input data types.
-
Field Summary
Fields Modifier and Type Field Description Modeler.DataModel
dataModel
The data model.
-
Constructor Summary
Constructors Constructor Description Modeler(RRMConfig.ModuleConfig.ModelerParams params, DeviceDataManager deviceDataManager, UCentralKafkaConsumer consumer, UCentralClient client, DataCollector dataCollector, ConfigManager configManager)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Modeler.DataModel
getDataModel()
Return the current data model (direct reference).Modeler.DataModel
getDataModelCopy()
Return the current data model (deep copy).void
revalidate()
Revalidate the data model to remove any non-RRM-enabled devices.void
run()
-
-
-
Field Detail
-
dataModel
public Modeler.DataModel dataModel
The data model.
-
-
Constructor Detail
-
Modeler
public Modeler(RRMConfig.ModuleConfig.ModelerParams params, DeviceDataManager deviceDataManager, UCentralKafkaConsumer consumer, UCentralClient client, DataCollector dataCollector, ConfigManager configManager)
Constructor.
-
-
Method Detail
-
getDataModel
public Modeler.DataModel getDataModel()
Return the current data model (direct reference).
-
getDataModelCopy
public Modeler.DataModel getDataModelCopy()
Return the current data model (deep copy).
-
revalidate
public void revalidate()
Revalidate the data model to remove any non-RRM-enabled devices.
-
-