public class RepollEvent extends AbstractEvent implements TransactionAwareEvent, ClusterAwareEvent
| Constructor and Description |
|---|
RepollEvent(java.lang.Integer nodeId,
java.lang.String nodeGroupId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getId()
Always returns
this. |
java.lang.String |
getNodeGroupId() |
java.lang.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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanPublishpublic RepollEvent(java.lang.Integer nodeId,
java.lang.String nodeGroupId)
public 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 java.lang.String getNodeGroupId()
public java.lang.Integer getNodeId()
public java.lang.Object getId()
this.getId in interface TransactionAwareEventTransactionAwareEvent.getId()public boolean publishOnCommitOnly()
true (on commit only).publishOnCommitOnly in interface TransactionAwareEventTransactionAwareEvent.publishOnCommitOnly()Copyright © 2018 SAP SE. All Rights Reserved.