public class KieModuleSwappingEvent extends AbstractEvent implements ClusterAwareEvent
| Constructor and Description |
|---|
KieModuleSwappingEvent(String rulesModuleName,
String deployedReleaseIdVersion) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeployedReleaseIdVersion() |
String |
getRulesModuleName() |
boolean |
publish(int paramInt1,
int paramInt2)
Decide whether this event should be broadcasted/received.
|
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringpublic boolean publish(int paramInt1,
int paramInt2)
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 String getRulesModuleName()
public String getDeployedReleaseIdVersion()
Copyright © 2017 SAP SE. All Rights Reserved.