接口 SelectorContextBuilder<T,C,P>
-
public interface SelectorContextBuilder<T,C,P>TheSelectorContextBuildermainly for provide the context forSelector.select(Object). It providesbuild(Object, Object)method for build context. And also providegetContextType()for get the contextType.- 作者:
- chenglu
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Tbuild(C consumer, P provider)build the context forSelector.select(Object).java.lang.StringgetContextType()the contextType. we provide the CMDB context type default.
-
-
-
方法详细资料
-
build
T build(C consumer, P provider)
build the context forSelector.select(Object). The user must provide consumer and provider. we provideCmdbContextfor user default who want to use theInstance'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.
-
-