public class ElectionPriority extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
Disabled
Priority -1 represents this node disabled the priority election function.
|
static int |
MinValue
Priority 1 is a minimum value for priority election.
|
static int |
NotElected
Priority 0 is a special value so that a node will never participate in election.
|
| 构造器和说明 |
|---|
ElectionPriority() |
public static final int Disabled
public static final int NotElected
public static final int MinValue
Copyright © 2021. All rights reserved.