void onEachDirectory(Consumer<File> consumer){
  consumer.accept(getSnapshotDirectory());
  consumer.accept(getLogDirectory());
}

void onEachDirectory ( Consumer < File > consumer ) { consumer . accept ( getSnapshotDirectory ( ) ) ; consumer . accept ( getLogDirectory ( ) ) ; }
perform the supplied function on each directory used by this server .
