Work on #403, updated diagram and finishing touches
This commit is contained in:
@ -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