Editor/display changes
This commit is contained in:
parent
35102cbcc3
commit
2f2914dd46
@ -42,6 +42,7 @@ public class CalculatorImpl implements Calculator, CalculatorEventListener {
|
|||||||
@NotNull
|
@NotNull
|
||||||
private final Executor calculationsExecutor = Executors.newFixedThreadPool(10);
|
private final Executor calculationsExecutor = Executors.newFixedThreadPool(10);
|
||||||
|
|
||||||
|
// NOTE: only one thread is responsible for events as all events must be done in order of their creating
|
||||||
@NotNull
|
@NotNull
|
||||||
private final Executor eventExecutor = Executors.newFixedThreadPool(1);
|
private final Executor eventExecutor = Executors.newFixedThreadPool(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user