public final class ClusterDescriptionChangedEvent
extends java.lang.Object
| 构造器和说明 |
|---|
ClusterDescriptionChangedEvent(ClusterId clusterId,
ClusterDescription newDescription,
ClusterDescription previousDescription)
Constructs a new instance of the event.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ClusterId |
getClusterId()
Gets the cluster id associated with this event.
|
ClusterDescription |
getNewDescription()
Gets the new cluster description.
|
ClusterDescription |
getPreviousDescription()
Gets the previous cluster description.
|
java.lang.String |
toString() |
public ClusterDescriptionChangedEvent(ClusterId clusterId, ClusterDescription newDescription, ClusterDescription previousDescription)
clusterId - the non-null cluster idnewDescription - the non-null new cluster descriptionpreviousDescription - the non-null previous cluster descriptionpublic ClusterId getClusterId()
public ClusterDescription getNewDescription()
public ClusterDescription getPreviousDescription()
public java.lang.String toString()
toString 在类中 java.lang.Object