Package org.restheart.polyglot
Class ContextQueue
java.lang.Object
org.restheart.polyglot.ContextQueue
-
Constructor Summary
ConstructorsConstructorDescriptionContextQueue(org.graalvm.polyglot.Engine engine, String name, Configuration conf, org.slf4j.Logger logger, Optional<com.mongodb.client.MongoClient> mclient, String modulesReplacements, Map<String, String> OPTS) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.graalvm.polyglot.ContextnewContext(org.graalvm.polyglot.Engine engine, String name, Configuration conf, org.slf4j.Logger LOGGER, Optional<com.mongodb.client.MongoClient> mclient, String modulesReplacements, Map<String, String> OPTS) voidrelease(org.graalvm.polyglot.Context ctx) org.graalvm.polyglot.Contexttake()
-
Constructor Details
-
ContextQueue
-
-
Method Details
-
take
- Throws:
InterruptedException
-
release
public void release(org.graalvm.polyglot.Context ctx) -
newContext
-