public final class DefaultElectionCredentials extends Object implements ElectionCredentials, Externalizable
| Constructor and Description |
|---|
DefaultElectionCredentials() |
DefaultElectionCredentials(int serverId,
long latestTxId,
boolean currentWinner) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object 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(Object o)
compareTo in interface Comparablepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.