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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the name of the attribute.int
Returns type identifier for this class.int
Returns DataSerializableFactory factory ID for this class.int
hashCode()
void
Reads fields from the input streamvoid
setAttributeName
(String attributeName) Sets the name of the attribute.toString()
void
Writes object fields to output stream
-
Constructor Details
-
PartitioningAttributeConfig
public PartitioningAttributeConfig() -
PartitioningAttributeConfig
-
PartitioningAttributeConfig
-
-
Method Details
-
getAttributeName
Returns the name of the attribute.- Returns:
- string with the name of the attribute
-
setAttributeName
Sets the name of the attribute. Used internally only.- Parameters:
attributeName
- - name of the attribute to set.
-
writeData
Description copied from interface:DataSerializable
Writes object fields to output stream- Specified by:
writeData
in interfaceDataSerializable
- Parameters:
out
- output- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the output stream has been closed.
-
readData
Description copied from interface:DataSerializable
Reads fields from the input stream- Specified by:
readData
in interfaceDataSerializable
- Parameters:
in
- input- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the input stream has been closed.
-
getFactoryId
public int getFactoryId()Description copied from interface:IdentifiedDataSerializable
Returns DataSerializableFactory factory ID for this class.- Specified by:
getFactoryId
in interfaceIdentifiedDataSerializable
- Returns:
- factory ID
-
getClassId
public int getClassId()Description copied from interface:IdentifiedDataSerializable
Returns type identifier for this class. It should be unique per DataSerializableFactory.- Specified by:
getClassId
in interfaceIdentifiedDataSerializable
- Returns:
- type ID
-
equals
-
hashCode
public int hashCode() -
toString
-