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