public class RepollEvent extends AbstractEvent implements TransactionAwareEvent, ClusterAwareEvent
| Constructor and Description |
|---|
RepollEvent(Integer nodeId,
String nodeGroupId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getId()
Always returns
this. |
String |
getNodeGroupId() |
Integer |
getNodeId() |
boolean |
publish(int sourceNodeId,
int targetNodeId)
Always returns
true (publish to all nodes). |
boolean |
publishOnCommitOnly()
Always returns
true (on commit only). |
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringpublic boolean publish(int sourceNodeId,
int targetNodeId)
true (publish to all nodes).publish in interface ClusterAwareEventtrue if event should be published from source cluster node to target cluster nodeClusterAwareEvent.publish(int, int)public String getNodeGroupId()
public Integer getNodeId()
public Object getId()
this.getId in interface TransactionAwareEventTransactionAwareEvent.getId()public boolean publishOnCommitOnly()
true (on commit only).publishOnCommitOnly in interface TransactionAwareEventTransactionAwareEvent.publishOnCommitOnly()Copyright © 2017 SAP SE. All Rights Reserved.