public class TermState extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TermState.Marshal |
| Constructor and Description |
|---|
TermState() |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTerm() |
String |
toString() |
boolean |
update(long newTerm)
Updates the term to a new value.
|
public long currentTerm()
public boolean update(long newTerm)
IllegalArgumentException can be thrown if an invalid value is
passed as argument.newTerm - The new value.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.