Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.notifications.cachemanagerlistener.event
Interface ViewChangedEvent

All Superinterfaces:
Event
All Known Subinterfaces:
MergeEvent
All Known Implementing Classes:
EventImpl

public interface ViewChangedEvent
extends Event

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
 Address getLocalAddress()
           
 List<Address> getNewMembers()
          Gets the current list of members.
 List<Address> getOldMembers()
          Gets the previous list of members.
 int getViewId()
          Get JGroups view id.
 boolean isMergeView()
           
 
Methods inherited from interface org.infinispan.notifications.cachemanagerlistener.event.Event
getCacheManager, getType
 

Method Detail

getNewMembers

List<Address> getNewMembers()
Gets the current list of members.

Returns:
the new view associated with this view change. List cannot be null.

getOldMembers

List<Address> 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()

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.