Untitled

 avatar
unknown
plain_text
6 months ago
282 B
5
Indexable
    @Async("statisticsThreadPool")

    public CompletableFuture<Integer> addData {

        int saved = featureStatisticsRepository.saveAll(toAddList).size();

        Data data = getData();
        update(data)
        return CompletableFuture.completedFuture(saved);
}
Editor is loading...
Leave a Comment