@ContextConfiguration(classes={io.bitsensor.plugins.java.core.BitSensorApplication.class,io.bitsensor.plugins.java.core.connectors.SampleConnectorConfig.class})
public class CollectorTestService
extends Object
| Modifier and Type | Field and Description |
|---|---|
protected SampleConnectorConfig.CollectingConnector |
collector |
protected ApiConnector |
connector |
| Constructor and Description |
|---|
CollectorTestService() |
| Modifier and Type | Method and Description |
|---|---|
void |
_empty() |
void |
clear() |
protected Collection<io.bitsensor.lib.entity.proto.Datapoint> |
getQueue()
Returns a collection of
Datapoint added to the collector's queue |
void |
setup() |
@Autowired protected ApiConnector connector
protected SampleConnectorConfig.CollectingConnector collector
@PostConstruct public void setup()
public void clear()
protected Collection<io.bitsensor.lib.entity.proto.Datapoint> getQueue()
Datapoint added to the collector's queueDatapointpublic void _empty()
Copyright © 2018 BitSensor. All rights reserved.