com.hazelcast.core
Class MemberAttributeEvent
java.lang.Object
java.util.EventObject
com.hazelcast.core.MembershipEvent
com.hazelcast.core.MemberAttributeEvent
- All Implemented Interfaces:
- DataSerializable, Serializable
- Direct Known Subclasses:
- MemberAttributeServiceEvent
public class MemberAttributeEvent
- extends MembershipEvent
- implements DataSerializable
- See Also:
- Serialized Form
MemberAttributeEvent
public MemberAttributeEvent()
MemberAttributeEvent
public MemberAttributeEvent(Cluster cluster,
MemberImpl member,
MemberAttributeOperationType operationType,
String key,
Object value)
getOperationType
public MemberAttributeOperationType getOperationType()
- Returns the type of member attribute change for this MemberAttributeEvent.
- Returns:
- the type of member attribute change for this MemberAttributeEvent
getKey
public String getKey()
- Returns the key for this MemberAttributeEvent.
- Returns:
- the key for this MemberAttributeEvent
getValue
public Object getValue()
- Returns the value for this MemberAttributeEvent.
- Returns:
- the value for this MemberAttributeEvent
getMember
public Member getMember()
- Description copied from class:
MembershipEvent
- Returns the removed or added member.
- Overrides:
getMember
in class MembershipEvent
- Returns:
- member which is removed or added
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.