Class MongoRequestContext

java.lang.Object
io.quarkus.mongodb.runtime.MongoRequestContext
All Implemented Interfaces:
com.mongodb.RequestContext

public class MongoRequestContext extends Object implements com.mongodb.RequestContext
  • Field Details

  • Constructor Details

    • MongoRequestContext

      public MongoRequestContext(io.opentelemetry.context.Context currentContext)
  • Method Details

    • get

      public <T> T get(Object key)
      Specified by:
      get in interface com.mongodb.RequestContext
    • hasKey

      public boolean hasKey(Object key)
      Specified by:
      hasKey in interface com.mongodb.RequestContext
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface com.mongodb.RequestContext
    • put

      public void put(Object key, Object value)
      Specified by:
      put in interface com.mongodb.RequestContext
    • delete

      public void delete(Object key)
      Specified by:
      delete in interface com.mongodb.RequestContext
    • size

      public int size()
      Specified by:
      size in interface com.mongodb.RequestContext
    • stream

      public Stream<Map.Entry<Object,Object>> stream()
      Specified by:
      stream in interface com.mongodb.RequestContext