Package com.mongodb

Interface ContextProvider


  • @ThreadSafe
    public interface ContextProvider
    A marker interface for providers of RequestContext. Sub-interfaces in higher-level modules define methods that actually return instances of RequestContext, depending on whether the client is synchronous or reactive.
    Since:
    4.4
    See Also:
    RequestContext, MongoClientSettings.getContextProvider()