use of org.locationtech.geogig.api.DefaultProgressListener in project GeoGig by boundlessgeo.
the class FeatureMapFlusher method flush.
private void flush(String path) {
Set<SimpleFeature> features = map.get(path);
if (!features.isEmpty()) {
Iterator<? extends Feature> iterator = features.iterator();
ProgressListener listener = new DefaultProgressListener();
List<org.locationtech.geogig.api.Node> insertedTarget = null;
Integer collectionSize = Integer.valueOf(features.size());
workTree.insert(path, iterator, listener, insertedTarget, collectionSize);
}
}
Aggregations