public class RulesCompilationInProgressQueryEvent extends AbstractEvent implements ClusterAwareEvent
| Constructor and Description |
|---|
RulesCompilationInProgressQueryEvent(java.lang.String moduleName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getModuleName() |
boolean |
publish(int sourceNode,
int targetNode)
Decide whether this event should be broadcasted/received.
|
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringpublic RulesCompilationInProgressQueryEvent(java.lang.String moduleName)
public java.lang.String getModuleName()
public boolean publish(int sourceNode,
int targetNode)
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 nodeCopyright © 2018 SAP SE. All Rights Reserved.