Package io.quarkus.mongodb.runtime
Class MongoRequestContext
java.lang.Object
io.quarkus.mongodb.runtime.MongoRequestContext
- All Implemented Interfaces:
com.mongodb.RequestContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mongodb.RequestContext
get, getOrDefault, getOrEmpty, putNonNull
-
Field Details
-
OTEL_CONTEXT_KEY
- See Also:
-
-
Constructor Details
-
MongoRequestContext
public MongoRequestContext(io.opentelemetry.context.Context currentContext)
-
-
Method Details
-
get
- Specified by:
get
in interfacecom.mongodb.RequestContext
-
hasKey
- Specified by:
hasKey
in interfacecom.mongodb.RequestContext
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfacecom.mongodb.RequestContext
-
put
- Specified by:
put
in interfacecom.mongodb.RequestContext
-
delete
- Specified by:
delete
in interfacecom.mongodb.RequestContext
-
size
public int size()- Specified by:
size
in interfacecom.mongodb.RequestContext
-
stream
- Specified by:
stream
in interfacecom.mongodb.RequestContext
-