Package net.solarnetwork.node.service
Interface BulkUploadService
- All Superinterfaces:
UploadService
API for posting local SolarNode data to a remote server in bulk.
- Version:
- 1.2
- Author:
- matt
-
Field Summary
Fields inherited from interface net.solarnetwork.node.service.UploadService
EVENT_TOPIC_DATUM_UPLOADED -
Method Summary
Modifier and TypeMethodDescriptionuploadBulkDatum(Collection<NodeDatum> data) Upload Datum data in bulk.Methods inherited from interface net.solarnetwork.node.service.UploadService
getKey, uploadDatum
-
Method Details
-
uploadBulkDatum
Upload Datum data in bulk.The returned list of results will be ordered in normal iterating order for the passed in
dataCollection, and will contain exactly the same number of objects (one for each Datum). TheBulkUploadResult.getId()value can be used to determine if the Datum was uploaded successfully (if it is non-null, it should be considered successfully uploaded).If the supplied Datum object is not supported by an implementation this method will throw an
IllegalArgumentException.- Parameters:
data- the data to upload- Returns:
- list of BulkUploadResult objects
-