Uses of Record Class
cloud.opencode.base.hash.consistent.HashNode
Packages that use HashNode
-
Uses of HashNode in cloud.opencode.base.hash.consistent
Methods in cloud.opencode.base.hash.consistent that return HashNodeModifier and TypeMethodDescriptionstatic <T> HashNode<T> Creates a node with default weight (1) 使用默认权重(1)创建节点static <T> HashNode<T> Creates a weighted node 创建带权重的节点VirtualNode.physicalNode()Returns the value of thephysicalNoderecord component.Methods in cloud.opencode.base.hash.consistent that return types with arguments of type HashNodeMethods in cloud.opencode.base.hash.consistent with parameters of type HashNodeMethod parameters in cloud.opencode.base.hash.consistent with type arguments of type HashNodeModifier and TypeMethodDescriptionConsistentHashBuilder.addNodes(Collection<HashNode<T>> nodes) Adds multiple nodes 添加多个节点Constructors in cloud.opencode.base.hash.consistent with parameters of type HashNodeModifierConstructorDescriptionVirtualNode(HashNode<T> physicalNode, int replicaIndex, long hashValue) Creates an instance of aVirtualNoderecord class.