X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Frequest%2FRequest.java;fp=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Frequest%2FRequest.java;h=412850ae08c4e3153b1f46e5d38b602b802f7234;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/request/Request.java b/bundles/org.simantics.db/src/org/simantics/db/request/Request.java new file mode 100644 index 000000000..412850ae0 --- /dev/null +++ b/bundles/org.simantics.db/src/org/simantics/db/request/Request.java @@ -0,0 +1,14 @@ +package org.simantics.db.request; + +public interface Request { + + /* + * The integer value obtained from this method can be used to determine + * the evaluation thread of the request. + * + * @return A non-negative integer value + * + */ + int threadHash(); + +}