public abstract class AbstractIMapEvent extends EventObject implements IMapEvent
Modifier and Type | Field and Description |
---|---|
protected String |
name |
source
Constructor and Description |
---|
AbstractIMapEvent(Object source,
Member member,
int eventType)
Constructs a prototypical Event.
|
Modifier and Type | Method and Description |
---|---|
EntryEventType |
getEventType()
Return the event type
|
Member |
getMember()
Returns the member fired this event.
|
String |
getName()
Returns the name of the map for this event.
|
Object |
getSource() |
String |
toString() |
protected final String name
public AbstractIMapEvent(Object source, Member member, int eventType)
source
- The object on which the Event initially occurred.member
- Member node.eventType
- Type of event as an integer.EntryEventType
IllegalArgumentException
- if source is null.public Object getSource()
getSource
in class EventObject
public Member getMember()
public EntryEventType getEventType()
getEventType
in interface IMapEvent
public String getName()
public String toString()
toString
in class EventObject
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.