Class ContextQueue

java.lang.Object
org.restheart.polyglot.ContextQueue

public class ContextQueue extends Object
  • Constructor Details

  • Method Details

    • take

      public org.graalvm.polyglot.Context take() throws InterruptedException
      Throws:
      InterruptedException
    • release

      public void release(org.graalvm.polyglot.Context ctx)
    • newContext

      public static org.graalvm.polyglot.Context newContext(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)