接口 SelectorContextBuilder<T,​C,​P>

    • 方法详细资料

      • build

        T build​(C consumer,
                P provider)
        build the context for Selector.select(Object). The user must provide consumer and provider. we provide CmdbContext for user default who want to use the Instance's CMDB info.
        参数:
        consumer - consumer who launch the select.
        provider - the provides who are selected by consumer.
        返回:
        selectorContext use by Selector.select(Object).
      • getContextType

        java.lang.String getContextType()
        the contextType. we provide the CMDB context type default.
        返回:
        the context type.