← All questionsToo earlyLanguages and frameworks
What's the best way to do directory traversal and background tasks in Java?
You are not the only one. Asked 3 times since August 2026, 0 of them in the last 4 weeks.
Times asked per week
9 Sept – 1 Dec
Week of 9 SeptTimes asked0Week of 16 SeptTimes asked0Week of 23 SeptTimes asked0Week of 30 SeptTimes asked0Week of 7 OctTimes asked0Week of 14 OctTimes asked01Week of 21 OctTimes asked1Week of 28 OctTimes asked0Week of 4 NovTimes asked0Week of 11 NovTimes asked0Week of 18 NovTimes asked0Week of 25 NovTimes asked0
Week of 9 SeptWeek of 25 Nov
Coloured columns are the last 4 weeks.
What people asked
Each line is our one-sentence summary. The link opens the original discussion.
- In a Spring service with graceful shutdown, should a background send-and-log task that runs while the cache drains be run with a Future or with a plain thread?Open thread →
- What is the best way to flatten a recursive directory traversal into an iterative one so that it works cleanly with Java Streams, given that modifying the list being iterated causes ConcurrentModificationException?Open thread →
- What is the best way to walk a large directory tree in Java while skipping certain directories entirely and still searching files in parallel?Open thread →
Where it is asked
- Stack Exchange3