| Constructor and Description |
|---|
RaftLogIndex(Object name,
long initialValue) |
| Modifier and Type | Method and Description |
|---|---|
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–2020 The Apache Software Foundation. All rights reserved.