mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 12:14:04 +00:00
Work on #403, updated diagram and finishing touches
This commit is contained in:
1 parent
483c61a82a
commit
5796e1967f
3 files changed
+22
-21
No files matched your search
@@ -61,11 +61,12 @@ import java.util.concurrent.Executors;
|
||||
public class App {
|
||||
|
||||
private static final String DEFAULT_URL = "https://raw.githubusercontent.com/iluwatar/java-design-patterns/Promise/promise/README.md";
|
||||
private ExecutorService executor;
|
||||
private CountDownLatch stopLatch = new CountDownLatch(2);
|
||||
private final ExecutorService executor;
|
||||
private final CountDownLatch stopLatch;
|
||||
|
||||
private App() {
|
||||
executor = Executors.newFixedThreadPool(2);
|
||||
stopLatch = new CountDownLatch(2);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user