public class RaftLogIndex extends Object
| 构造器和说明 |
|---|
RaftLogIndex(Object name,
long initialValue) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
get() |
long |
incrementAndGet(Consumer<Object> log) |
boolean |
setUnconditionally(long newIndex,
Consumer<Object> log) |
String |
toString() |
boolean |
updateIncreasingly(long newIndex,
Consumer<Object> log) |
boolean |
updateToMax(long newIndex,
Consumer<Object> log) |
boolean |
updateUnconditionally(LongUnaryOperator update,
Consumer<Object> log) |
public RaftLogIndex(Object name, long initialValue)
public long get()
public boolean updateUnconditionally(LongUnaryOperator update, Consumer<Object> log)
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.