com.hazelcast.core
Class MemberAttributeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.hazelcast.core.MembershipEvent
          extended by com.hazelcast.core.MemberAttributeEvent
All Implemented Interfaces:
DataSerializable, Serializable
Direct Known Subclasses:
MemberAttributeServiceEvent

public class MemberAttributeEvent
extends MembershipEvent
implements DataSerializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hazelcast.core.MembershipEvent
MEMBER_ADDED, MEMBER_ATTRIBUTE_CHANGED, MEMBER_REMOVED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MemberAttributeEvent()
           
MemberAttributeEvent(Cluster cluster, com.hazelcast.instance.MemberImpl member, MemberAttributeOperationType operationType, String key, Object value)
           
 
Method Summary
 String getKey()
           
 Member getMember()
          Returns the removed or added member.
 MemberAttributeOperationType getOperationType()
           
 Object getValue()
           
 void readData(com.hazelcast.nio.ObjectDataInput in)
           
 void writeData(com.hazelcast.nio.ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.core.MembershipEvent
getCluster, getEventType, getMembers, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemberAttributeEvent

public MemberAttributeEvent()

MemberAttributeEvent

public MemberAttributeEvent(Cluster cluster,
                            com.hazelcast.instance.MemberImpl member,
                            MemberAttributeOperationType operationType,
                            String key,
                            Object value)
Method Detail

getOperationType

public MemberAttributeOperationType getOperationType()

getKey

public String getKey()

getValue

public Object getValue()

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/added

writeData

public void writeData(com.hazelcast.nio.ObjectDataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

readData

public void readData(com.hazelcast.nio.ObjectDataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.