- prevent changing the order of incoming changes
Change-Id: If7df69334b2ff8217986cd933e25463cb6e90171
Signed-off-by: Andrej Leitner <andrej.leitner@pantheon.tech>
@GuardedBy("compressionGuard")
private final Map<InstanceIdentifier<FlowCapableNode>, SyncupEntry> compressionQueue = new HashMap<>();
- private final Semaphore compressionGuard = new Semaphore(1, false);
+ private final Semaphore compressionGuard = new Semaphore(1, true);
public SyncReactorFutureZipDecorator(SyncReactor delegate, ListeningExecutorService executorService) {
super(delegate, executorService);