public class NodeHealthCheckResponse extends AbstractEvent implements ClusterAwareEvent
| Modifier and Type | Method and Description |
|---|---|
long |
getAnsweringNodeDynamicID() |
long |
getAnsweringNodeID() |
java.lang.String |
getJsonResult() |
java.lang.String |
getRequestId() |
long |
getRequestingNodeID() |
boolean |
publish(int sourceNodeId,
int targetNodeId)
Decide whether this event should be broadcasted/received.
|
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringpublic long getRequestingNodeID()
public long getAnsweringNodeID()
public java.lang.String getJsonResult()
public java.lang.String getRequestId()
public boolean publish(int sourceNodeId,
int targetNodeId)
ClusterAwareEventreturn (sourceNodeId==targetNodeId ); => will only publish to local clusterreturn true; => will publish to all nodesreturn (targetNodeId==14); => publish to dedicated node regardless of sourcepublish in interface ClusterAwareEventtrue if event should be published from source cluster node to target cluster nodepublic long getAnsweringNodeDynamicID()
Copyright © 2018 SAP SE. All Rights Reserved.