public class DefaultSecDeleteB2BUnitEvent extends AbstractEvent implements ClusterAwareEvent
| Constructor and Description |
|---|
DefaultSecDeleteB2BUnitEvent() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getB2bUnitPk() |
java.lang.String |
getB2bUnitUid() |
boolean |
publish(int sourceNodeId,
int targetNodeId)
Decide whether this event should be broadcasted/received.
|
void |
setB2bUnitPk(java.lang.String b2bUnitPk) |
void |
setB2bUnitUid(java.lang.String b2bUnitUid) |
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanPublishpublic 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 java.lang.String getB2bUnitUid()
public void setB2bUnitUid(java.lang.String b2bUnitUid)
public java.lang.String getB2bUnitPk()
public void setB2bUnitPk(java.lang.String b2bUnitPk)
Copyright © 2018 SAP SE. All Rights Reserved.