public abstract class AbstractICacheEvent extends EventObject implements ICacheEvent
ICacheEvent
.Modifier and Type | Field and Description |
---|---|
protected String |
name |
source
Constructor and Description |
---|
AbstractICacheEvent(Object source,
Member member,
int eventType)
Constructs a prototypical Cache Event.
|
Modifier and Type | Method and Description |
---|---|
CacheEventType |
getEventType()
Returns the event type
EntryEventType . |
Member |
getMember()
Returns the member that fired this event.
|
String |
getName()
Returns the name of the cache 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 AbstractICacheEvent(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()
getMember
in interface ICacheEvent
public CacheEventType getEventType()
EntryEventType
.getEventType
in interface ICacheEvent
EntryEventType
.public String getName()
getName
in interface ICacheEvent
public String toString()
toString
in class EventObject
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.