Package com.hazelcast.config
Class PartitioningAttributeConfig
java.lang.Object
com.hazelcast.config.PartitioningAttributeConfig
- All Implemented Interfaces:
- DataSerializable,- IdentifiedDataSerializable
Contains the configuration for attributes used to create
 
AttributePartitioningStrategy- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the name of the attribute.intReturns type identifier for this class.intReturns DataSerializableFactory factory ID for this class.inthashCode()voidReads fields from the input streamvoidsetAttributeName(String attributeName) Sets the name of the attribute.toString()voidWrites object fields to output stream
- 
Constructor Details- 
PartitioningAttributeConfigpublic PartitioningAttributeConfig()
- 
PartitioningAttributeConfig
- 
PartitioningAttributeConfig
 
- 
- 
Method Details- 
getAttributeNameReturns the name of the attribute.- Returns:
- string with the name of the attribute
 
- 
setAttributeNameSets the name of the attribute. Used internally only.- Parameters:
- attributeName- - name of the attribute to set.
 
- 
writeDataDescription copied from interface:DataSerializableWrites object fields to output stream- Specified by:
- writeDatain interface- DataSerializable
- Parameters:
- out- output
- Throws:
- IOException- if an I/O error occurs. In particular, an- IOExceptionmay be thrown if the output stream has been closed.
 
- 
readDataDescription copied from interface:DataSerializableReads fields from the input stream- Specified by:
- readDatain interface- DataSerializable
- Parameters:
- in- input
- Throws:
- IOException- if an I/O error occurs. In particular, an- IOExceptionmay be thrown if the input stream has been closed.
 
- 
getFactoryIdpublic int getFactoryId()Description copied from interface:IdentifiedDataSerializableReturns DataSerializableFactory factory ID for this class.- Specified by:
- getFactoryIdin interface- IdentifiedDataSerializable
- Returns:
- factory ID
 
- 
getClassIdpublic int getClassId()Description copied from interface:IdentifiedDataSerializableReturns type identifier for this class. It should be unique per DataSerializableFactory.- Specified by:
- getClassIdin interface- IdentifiedDataSerializable
- Returns:
- type ID
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-