]> gerrit.simantics Code Review - simantics/platform.git/commit
Add locking for IndexUtils.flushIndexCaches 01/4901/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 28 Feb 2022 08:00:55 +0000 (10:00 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 28 Feb 2022 08:00:55 +0000 (10:00 +0200)
commitda749c56c5caad4252cd27276bf19b08f4dcb778
tree77f11f3bfd27e474ce689b910855b9783c6fc6a7
parentdca20c7c10ae30a7ea50a22e15a043dc8d71af1b
Add locking for IndexUtils.flushIndexCaches

To gain access to index locks, the flush implementation needed to be
moved from MemoryIndexing into IndexedRelationsImpl.
IndexedRelations.flush was added to the interface as well.

Merged master/85ee3813 to release/1.43.1

gitlab #807

Change-Id: I66b149dfda378b33ff7574036cabbe86f96beb78
bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/IndexUtils.java
bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/IndexedRelationsImpl.java
bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/IndexedRelationsSearcherBase.java
bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/MemoryIndexing.java
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/IndexedRelations.java