Neo4j Enterprise

org.neo4j.cluster
Class InstanceId

java.lang.Object
  extended by org.neo4j.cluster.InstanceId
All Implemented Interfaces:
Externalizable, Serializable, Comparable<InstanceId>

public class InstanceId
extends Object
implements Externalizable, Comparable<InstanceId>

See Also:
Serialized Form

Constructor Summary
InstanceId()
           
InstanceId(int serverId)
           
 
Method Summary
 int compareTo(InstanceId o)
           
 boolean equals(Object o)
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 int toIntegerIndex()
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceId

public InstanceId()

InstanceId

public InstanceId(int serverId)
Method Detail

compareTo

public int compareTo(InstanceId o)
Specified by:
compareTo in interface Comparable<InstanceId>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toIntegerIndex

public int toIntegerIndex()

Neo4j Enterprise

Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.