public class TopologyEvent
extends java.lang.Object
TopologyEventListener
Modifier and Type | Class and Description |
---|---|
static class |
TopologyEvent.Type |
Constructor and Description |
---|
TopologyEvent(TopologyEvent.Type type,
TopologyView oldView,
TopologyView newView) |
Modifier and Type | Method and Description |
---|---|
TopologyView |
getNewView()
Returns the view which is currently (i.e.
|
TopologyView |
getOldView()
Returns the view which was valid up until now.
|
TopologyEvent.Type |
getType()
Returns the type of this event
|
java.lang.String |
toString() |
public TopologyEvent(TopologyEvent.Type type, TopologyView oldView, TopologyView newView)
public TopologyEvent.Type getType()
public TopologyView getOldView()
This is null in case of TOPOLOGY_INIT
public TopologyView getNewView()
This is null in case of TOPOLOGY_CHANGING
TOPOLOGY_CHANGING
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 The Apache Software Foundation. All rights reserved.