public class IdAllocationState extends Object
IdAllocationState.Marshal. The serialized form:
+----------------------------------+
| 8-byte length marker |
+----------------------------------+
| first unallocated |
| 15x 8-byte |
+----------------------------------+| Modifier and Type | Class and Description |
|---|---|
static class |
IdAllocationState.Marshal |
| Constructor and Description |
|---|
IdAllocationState(long[] firstUnallocated,
long logIndex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
firstUnallocated(org.neo4j.kernel.impl.store.id.IdType idType) |
int |
hashCode() |
long |
logIndex() |
void |
logIndex(long logIndex)
Sets the last seen log index, which is the last log index at which a replicated value that updated this state
was encountered.
|
IdAllocationState |
newInstance() |
String |
toString() |
public IdAllocationState(long[] firstUnallocated,
long logIndex)
public long logIndex()
logIndex(long)public void logIndex(long logIndex)
logIndex - The value to set as the last log index at which this state was updatedpublic long firstUnallocated(org.neo4j.kernel.impl.store.id.IdType idType)
idType - the type of graph object whose ID is under allocationpublic IdAllocationState newInstance()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.