public final class DefaultElectionCredentials extends Object implements org.neo4j.cluster.protocol.election.ElectionCredentials, Externalizable
| Constructor and Description |
|---|
DefaultElectionCredentials() |
DefaultElectionCredentials(int serverId,
long latestTxId,
boolean currentWinner) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(org.neo4j.cluster.protocol.election.ElectionCredentials o) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public DefaultElectionCredentials()
public DefaultElectionCredentials(int serverId,
long latestTxId,
boolean currentWinner)
public int compareTo(org.neo4j.cluster.protocol.election.ElectionCredentials o)
compareTo in interface Comparable<org.neo4j.cluster.protocol.election.ElectionCredentials>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.