X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservice%2FXSupport.java;h=8e08147c5b34a2c61af386c2154a0d5238f20707;hp=73594cddb4830fb2364ca83a94961847235fdf8d;hb=9acebe9584f8f2a78f0322b6e0e24438e7ceb984;hpb=081bf7e08a67c0af23c5846e163be39bb19f12cb diff --git a/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java b/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java index 73594cddb..8e08147c5 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java +++ b/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java @@ -17,6 +17,7 @@ import org.simantics.db.WriteOnlyGraph; import org.simantics.db.exception.DatabaseException; import org.simantics.db.exception.ServiceException; import org.simantics.db.request.WriteTraits; +import org.simantics.utils.datastructures.Pair; /** * @author TUOKSK @@ -103,6 +104,7 @@ public interface XSupport { * @param createAsImmutable true to make all created clusters immutable */ void setServiceMode(boolean allowImmutableWrites, boolean createAsImmutable); + Pair getServiceMode(); /** * If resource is acquired from DelayedWriteGraph during delayed write request then