Interface ViewChangedEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
MergeEvent
- All Known Implementing Classes:
EventImpl
This event is passed in to any method annotated with
ViewChanged
.
It represents a JGroups view change event.- Since:
- 4.0
- Author:
- Manik Surtani
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.notifications.cachemanagerlistener.event.Event
Event.Type
-
Method Summary
Modifier and TypeMethodDescriptionGets the current list of members.Gets the previous list of members.int
Get JGroups view id.boolean
Methods inherited from interface org.infinispan.notifications.cachemanagerlistener.event.Event
getCacheManager, getType
-
Method Details
-
getNewMembers
Gets the current list of members.- Returns:
- the new view associated with this view change. List cannot be null.
-
getOldMembers
Gets the previous list of members.- Returns:
- the old view associated with this view change. List cannot be null.
-
getLocalAddress
Address getLocalAddress() -
getViewId
int getViewId()Get JGroups view id.- Returns:
-
isMergeView
boolean isMergeView()
-