摘要:
线程状态 NEW RUNNABLE RUNNING BLOCKED DEAD 线程池相关 ThreadPoolExecutor execute(Runnable command) If fewer than corePoolSize threads are running, try to start 阅读全文
摘要:
public enum ServerState { // 初始状态 LOOKING, FOLLOWING, LEADING, // 不参与选举 OBSERVING } /** * (Used for monitoring) shows the current phase of * Zab proto 阅读全文
摘要:
/** * Block replica states, which it can go through while being constructed. */ enum ReplicaState { /** Replica is finalized. The state when replica i 阅读全文