类的使用
com.alibaba.csp.sentinel.node.ClusterNode
使用ClusterNode的程序包
程序包
说明
-
com.alibaba.csp.sentinel中ClusterNode的使用
修饰符和类型字段说明static final ClusterNodeConstants.ENTRY_NODEGlobal statistic node for inbound traffic. -
com.alibaba.csp.sentinel.node中ClusterNode的使用
修饰符和类型方法说明NodeBuilder.buildClusterNode()已过时。Create a newClusterNodeas universal statistic node for a single resource.DefaultNode.getClusterNode()参数类型为ClusterNode的com.alibaba.csp.sentinel.node中的方法修饰符和类型方法说明NodeBuilder.buildTreeNode(ResourceWrapper id, ClusterNode clusterNode) 已过时。Create a newDefaultNodeas tree node.voidDefaultNode.setClusterNode(ClusterNode clusterNode) 参数类型为ClusterNode的com.alibaba.csp.sentinel.node中的构造器限定符构造器说明DefaultNode(ResourceWrapper id, ClusterNode clusterNode) EntranceNode(ResourceWrapper id, ClusterNode clusterNode) -
com.alibaba.csp.sentinel.slots.clusterbuilder中ClusterNode的使用
修饰符和类型方法说明static ClusterNodeClusterBuilderSlot.getClusterNode(String id) GetClusterNodeof the resource name.static ClusterNodeClusterBuilderSlot.getClusterNode(String id, EntryType type) GetClusterNodeof the resource of the specific type.返回变量类型为ClusterNode的类型的com.alibaba.csp.sentinel.slots.clusterbuilder中的方法修饰符和类型方法说明static Map<ResourceWrapper,ClusterNode> ClusterBuilderSlot.getClusterNodeMap()GetClusterNodes map, this map holds allClusterNodes, it's key is resource name, value is the relatedClusterNode.