com.hazelcast.impl
Class ClientService.PartitionImpl

java.lang.Object
  extended by com.hazelcast.impl.ClientService.PartitionImpl
All Implemented Interfaces:
HazelcastInstanceAware, DataSerializable, Partition, java.io.Serializable, java.lang.Comparable
Enclosing class:
ClientService

public static class ClientService.PartitionImpl
extends java.lang.Object
implements Partition, HazelcastInstanceAware, DataSerializable, java.lang.Comparable

See Also:
Serialized Form

Constructor Summary
ClientService.PartitionImpl()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 Member getOwner()
           
 int getPartitionId()
           
 int hashCode()
           
 void readData(java.io.DataInput in)
           
 void setHazelcastInstance(HazelcastInstance hazelcastInstance)
           
 java.lang.String toString()
           
 void writeData(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientService.PartitionImpl

public ClientService.PartitionImpl()
Method Detail

getPartitionId

public int getPartitionId()
Specified by:
getPartitionId in interface Partition

getOwner

public Member getOwner()
Specified by:
getOwner in interface Partition

setHazelcastInstance

public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
Specified by:
setHazelcastInstance in interface HazelcastInstanceAware

writeData

public void writeData(java.io.DataOutput out)
               throws java.io.IOException
Specified by:
writeData in interface DataSerializable
Throws:
java.io.IOException

readData

public void readData(java.io.DataInput in)
              throws java.io.IOException
Specified by:
readData in interface DataSerializable
Throws:
java.io.IOException

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.